aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/test_check.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-20 11:56:38 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-20 11:56:38 +1300
commit8430f857b504a3e7406dc36e54dc32783569d0dd (patch)
treed3116cd540faf01f272a0892fc6a9b83b4f6de8a /test/netlib/test_check.py
parent853e03a5e753354fad3a3fa5384ef3a09384ef43 (diff)
downloadmitmproxy-8430f857b504a3e7406dc36e54dc32783569d0dd.tar.gz
mitmproxy-8430f857b504a3e7406dc36e54dc32783569d0dd.tar.bz2
mitmproxy-8430f857b504a3e7406dc36e54dc32783569d0dd.zip
The final piece: netlib -> mitproxy.net
Diffstat (limited to 'test/netlib/test_check.py')
-rw-r--r--test/netlib/test_check.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/netlib/test_check.py b/test/netlib/test_check.py
deleted file mode 100644
index 6a1388f4..00000000
--- a/test/netlib/test_check.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# coding=utf-8
-
-from netlib import check
-
-
-def test_is_valid_host():
- assert not check.is_valid_host(b"")
- assert check.is_valid_host(b"one.two")
- assert not check.is_valid_host(b"one" * 255)
- assert check.is_valid_host(b"one.two.")