diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 09:45:18 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 09:45:18 +1300 |
commit | 1407830280383e50a8af848a0c564c4912df5a52 (patch) | |
tree | 99298b45cb4b34b36f3308e695944bc3a2e1df60 /test | |
parent | 069119364d6490e52ba26f2d8001c6b2bf50ab7b (diff) | |
download | mitmproxy-1407830280383e50a8af848a0c564c4912df5a52.tar.gz mitmproxy-1407830280383e50a8af848a0c564c4912df5a52.tar.bz2 mitmproxy-1407830280383e50a8af848a0c564c4912df5a52.zip |
netlib.human -> mitmproxy.utils.human
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/test_utils_human.py (renamed from test/netlib/test_human.py) | 3 | ||||
-rw-r--r-- | test/mitmproxy/test_utils_lrucache.py | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/netlib/test_human.py b/test/mitmproxy/test_utils_human.py index bb97dc54..08609887 100644 --- a/test/netlib/test_human.py +++ b/test/mitmproxy/test_utils_human.py @@ -1,5 +1,6 @@ import time -from netlib import human, tutils +from mitmproxy.utils import human +from netlib import tutils def test_format_timestamp(): diff --git a/test/mitmproxy/test_utils_lrucache.py b/test/mitmproxy/test_utils_lrucache.py index f75fb5e8..07b96b4d 100644 --- a/test/mitmproxy/test_utils_lrucache.py +++ b/test/mitmproxy/test_utils_lrucache.py @@ -1,8 +1,8 @@ -from mitmproxy import utils +from mitmproxy.utils import lrucache def test_LRUCache(): - cache = utils.LRUCache(2) + cache = lrucache.LRUCache(2) class Foo: ran = False |