diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 12:03:13 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 12:03:13 +1200 |
| commit | 4ed5043c67848bf717e48bc509d959422c8faeb6 (patch) | |
| tree | 92abe731c72d34bf6b43cbe1ecb46939953a6860 /examples | |
| parent | 904760c6c2927caf49b7cbe4027dd1c8dd8e9fdb (diff) | |
| download | mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.gz mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.bz2 mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.zip | |
Add coding style check, reformat.
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 |
