diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/test_context.py | 1 | ||||
| -rw-r--r-- | examples/test_setup.py | 2 | ||||
| -rw-r--r-- | examples/test_setupall.py | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/examples/test_context.py b/examples/test_context.py index f3da83cb..7c0386c1 100644 --- a/examples/test_context.py +++ b/examples/test_context.py @@ -1,6 +1,7 @@ import requests from libpathod import test + def test_simple(): """ Testing the requests module with diff --git a/examples/test_setup.py b/examples/test_setup.py index 2918a4dd..f05a715e 100644 --- a/examples/test_setup.py +++ b/examples/test_setup.py @@ -1,12 +1,14 @@ import requests from libpathod import test + class Test: """ Testing the requests module with a pathod instance started for each test. """ + def setUp(self): self.d = test.Daemon() diff --git a/examples/test_setupall.py b/examples/test_setupall.py index c8948971..6e91f0de 100644 --- a/examples/test_setupall.py +++ b/examples/test_setupall.py @@ -1,10 +1,11 @@ import requests from libpathod import test + class Test: """ - Testing the requests module with - a single pathod instance started + Testing the requests module with + a single pathod instance started for the test suite. """ @classmethod |
