Commit Graph

8 Commits

Author SHA1 Message Date
meejah
81ee2dc030 more stats / recording works 2021-02-12 02:18:36 -07:00
meejah
57f9c32b81 (wip) refactor to use Automat state-machine 2021-01-25 17:59:14 -07:00
Brian Warner
a9680918b9 test_stats: try more realistic fake time.time()
Maybe windows+py36 was failing because "456" is too small of a value, and the
OS time libraries can't figure out UTC for something back in 1970. Switch to
a fixed timestamp from just a few minutes ago, to see if it likes 2018
better.
2018-02-19 13:23:40 -08:00
Brian Warner
071471a353 test_stats: mock time.time() with a float, to appease windows
For some reason, the appveyor (windows) tests fail on py36 with an OSError
during an internal (twisted.python.log) call to datetime.fromtimestamp().
It's possible that my mock times are too old (I'm using made-up values like
"456"), but maybe it's just that real time.time() returns a float instead of
an integer.
2018-02-19 13:12:14 -08:00
Brian Warner
83e1c8acfe make it all basically work, improve test coverage 2017-11-07 19:39:01 -06:00
Brian Warner
849a90f0fa test_stats: more test coverage 2017-09-13 18:26:54 -07:00
Brian Warner
a1333e51cd fix unicode/json on py3 2017-09-13 18:18:29 -07:00
Brian Warner
2e0c97cea8 test_stats: start improving coverage 2017-09-13 18:14:41 -07:00