diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-03-07 13:46:02 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-03-07 13:46:02 +1300 |
commit | 765871bd118926dfb265f2b8f67cfd2b3558d6ee (patch) | |
tree | 9709a617a5a4ac163576b57313d2c5d33edd3ca1 /test | |
parent | 64cce94238efd4cc869f19b198c72361c9c8c6c9 (diff) | |
download | mitmproxy-765871bd118926dfb265f2b8f67cfd2b3558d6ee.tar.gz mitmproxy-765871bd118926dfb265f2b8f67cfd2b3558d6ee.tar.bz2 mitmproxy-765871bd118926dfb265f2b8f67cfd2b3558d6ee.zip |
Store timestamps on flow components as a UTC time tuple.
Format is:
(tm_year,tm_mon,tm_mday,tm_hour,tm_min, tm_sec,tm_wday,tm_yday,tm_isdst)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index be6db4d3..c7d4e03f 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -5,7 +5,7 @@ from libmproxy import utils class uformat_timestamp(libpry.AutoTree): def test_simple(self): - assert utils.format_timestamp(time.time()) + assert utils.format_timestamp(utils.timestamp()) class uisBin(libpry.AutoTree): |