1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

tests: remove 3.2, fix auto_index test assert

This commit is contained in:
Ilya Kreymer 2016-03-10 13:07:57 -08:00
parent 42aa12f9ae
commit 3f734e1c98
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@ language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"

View File

@ -506,11 +506,11 @@ class TestManagedColls(object):
index_file = os.path.join(auto_dir, INDEX_DIR, AUTOINDEX_FILE)
assert os.path.isfile(index_file)
with open(index_file, 'rb') as fh:
with open(index_file, 'r') as fh:
index = fh.read()
assert b'"example.warc.gz' in index
assert b'"sub/example-extra.warc' in index, index
assert '"example.warc.gz' in index, index
assert '"sub/example-extra.warc' in index, index
mtime = os.path.getmtime(index_file)