Browse Source

Merge pull request #2242 from davidism/utcfromtimestamp

get mtime in utc
pull/2117/head
David Lord 8 years ago committed by GitHub
parent
commit
7005c2d534
  1. 2
      tests/test_helpers.py

2
tests/test_helpers.py

@ -517,7 +517,7 @@ class TestSendfile(object):
assert rv.status_code == 416
rv.close()
last_modified = datetime.datetime.fromtimestamp(os.path.getmtime(
last_modified = datetime.datetime.utcfromtimestamp(os.path.getmtime(
os.path.join(app.root_path, 'static/index.html'))).replace(
microsecond=0)

Loading…
Cancel
Save