From 7e6d014f8f0b4e89c7f4cd97e9ea4856a6771981 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 2 Nov 2016 10:06:25 +1300 Subject: tests: pathod/tutils.py -> pathod/tservers.py And remove all aliases for mitmproxy.test.tutils --- test/pathod/test_pathod_cmdline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/pathod/test_pathod_cmdline.py') diff --git a/test/pathod/test_pathod_cmdline.py b/test/pathod/test_pathod_cmdline.py index 58123b37..290f5d9f 100644 --- a/test/pathod/test_pathod_cmdline.py +++ b/test/pathod/test_pathod_cmdline.py @@ -2,7 +2,7 @@ import mock from pathod import pathod_cmdline as cmdline -from . import tutils +from mitmproxy.test import tutils def test_parse_anchor_spec(): @@ -18,7 +18,7 @@ def test_pathod(perror): [ "pathod", "--cert", - tutils.test_data.path("data/testkey.pem") + tutils.test_data.path("pathod/data/testkey.pem") ] ) assert a.ssl_certs @@ -46,7 +46,7 @@ def test_pathod(perror): [ "pathod", "-a", - "foo=" + tutils.test_data.path("data/response") + "foo=" + tutils.test_data.path("pathod/data/response") ] ) assert a.anchors -- cgit v1.2.3