From 1fe1a802adbef93b5b024a85d8dafb112ed652bb Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 3 Mar 2013 12:16:09 +1300 Subject: 100% test coverage. --- test/test_http.py | 1 + test/test_imports.py | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/test_imports.py (limited to 'test') diff --git a/test/test_http.py b/test/test_http.py index 1c89900c..05dfdb8f 100644 --- a/test/test_http.py +++ b/test/test_http.py @@ -2,6 +2,7 @@ import cStringIO, textwrap, binascii from netlib import http, odict import tutils + def test_httperror(): e = http.HttpError(404, "Not found") assert str(e) diff --git a/test/test_imports.py b/test/test_imports.py new file mode 100644 index 00000000..7b8a643b --- /dev/null +++ b/test/test_imports.py @@ -0,0 +1,3 @@ +# These are actually tests! +import netlib.http_status +import netlib.version -- cgit v1.2.3