Skip to content

Commit 2bad99f

Browse files
committed
test(pytest): add tests for examples
1 parent 85cc8be commit 2bad99f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

examples/simple_service/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest.mock import MagicMock
22

3-
import main
3+
from examples.simple_service import main
44

55

66
def test_main():

tests/test_examples.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
def test_simple_service():
2+
from examples.simple_service import test
3+
4+
test.test_main()

0 commit comments

Comments
 (0)