We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85cc8be commit 2bad99fCopy full SHA for 2bad99f
examples/simple_service/test.py
@@ -1,6 +1,6 @@
1
from unittest.mock import MagicMock
2
3
-import main
+from examples.simple_service import main
4
5
6
def test_main():
tests/test_examples.py
@@ -0,0 +1,4 @@
+def test_simple_service():
+ from examples.simple_service import test
+
+ test.test_main()
0 commit comments