diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-04-26 11:47:07 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 11:47:07 +1200 |
commit | b18e0fa2bcac8b55b1d8325f4a2b1f916e3c0d9b (patch) | |
tree | 332a42ef3dfd28ec0f4496b1f8ae79464f069069 /test/pathod/test_pathod.py | |
parent | 5546f0a05ec21db986f0639cee9e89452ba68642 (diff) | |
parent | 95e690ba31db9cb35eaa7e22ecebbe06ea8e2044 (diff) | |
download | mitmproxy-b18e0fa2bcac8b55b1d8325f4a2b1f916e3c0d9b.tar.gz mitmproxy-b18e0fa2bcac8b55b1d8325f4a2b1f916e3c0d9b.tar.bz2 mitmproxy-b18e0fa2bcac8b55b1d8325f4a2b1f916e3c0d9b.zip |
Merge pull request #3071 from cortesi/tickless
asyncio: shift script reloading out of the tick event
Diffstat (limited to 'test/pathod/test_pathod.py')
-rw-r--r-- | test/pathod/test_pathod.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py index d6522cb6..246bff3b 100644 --- a/test/pathod/test_pathod.py +++ b/test/pathod/test_pathod.py @@ -5,11 +5,14 @@ import pytest from pathod import pathod from mitmproxy.net import tcp from mitmproxy import exceptions -from mitmproxy.test import tutils +from mitmproxy.utils import data from . import tservers +cdata = data.Data(__name__) + + class TestPathod: def test_logging(self): @@ -57,7 +60,7 @@ class TestNotAfterConnect(tservers.DaemonTests): class TestCustomCert(tservers.DaemonTests): ssl = True ssloptions = dict( - certs=[("*", tutils.test_data.path("pathod/data/testkey.pem"))], + certs=[("*", cdata.path("data/testkey.pem"))], ) def test_connect(self): |