aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.py
diff options
context:
space:
mode:
authorMarcelo Glezer <marcelo.glezer@gmail.com>2015-03-02 23:22:44 -0300
committerMarcelo Glezer <marcelo.glezer@gmail.com>2015-03-02 23:22:44 -0300
commit58dba3f49083288e19f6e9edb7cc60e88dd446e3 (patch)
tree2cbcafe106575bf8f3b93494c97fa87bab050b38 /test/test_utils.py
parent91e5a4a4b5bf1beb083afb0731294cfeaca62944 (diff)
downloadmitmproxy-58dba3f49083288e19f6e9edb7cc60e88dd446e3.tar.gz
mitmproxy-58dba3f49083288e19f6e9edb7cc60e88dd446e3.tar.bz2
mitmproxy-58dba3f49083288e19f6e9edb7cc60e88dd446e3.zip
fixed formatting and added a 'test' (sort of)
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 45bfb4f7..78d1c072 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -8,6 +8,8 @@ utils.CERT_SLEEP_TIME = 0
def test_format_timestamp():
assert utils.format_timestamp(utils.timestamp())
+def test_format_timestamp_with_milli():
+ assert utils.format_timestamp_with_milli(utils.timestamp())
def test_isBin():
assert not utils.isBin("testing\n\r")