summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-09-20 19:08:25 +0200
committerKali Kaneko <kali@leap.se>2017-09-20 22:42:32 +0200
commitcd6b3ee31a0216c445df599563e180fd91b74ab7 (patch)
treee551fc702798107a849816a069649632ed804619 /tests
parent0d0459ac31f40d90270de0a9da8e1eac0b57784d (diff)
debug
(add some extra line to force tests to run again)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/e2e/conditional_downloads.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/e2e/conditional_downloads.py b/tests/e2e/conditional_downloads.py
index 6b9a840..4f7866b 100755
--- a/tests/e2e/conditional_downloads.py
+++ b/tests/e2e/conditional_downloads.py
@@ -28,11 +28,14 @@ def main(reactor, *args):
assert filesize > 1
# touch file to 5 minutes in the past
past = int(os.path.getmtime(fname)) - 300
+ print "PAST MTIME", past
os.utime(fname, (past, past))
assert os.path.getmtime(fname) == past
yield httpRequest(client._agent, URI, method='GET', saveto=fname)
# it was not modified
- assert os.path.getmtime(fname) == past
+ current = os.path.getmtime(fname)
+ print "CURRENT MTIME", current
+ assert current == past
print 'OK'
shutil.rmtree(tmp)