999
999
# we should be able to read from http with a versioned file.
1001
1001
# try an empty file access
1003
1004
self.assertEqual([], readonly_vf.versions())
1005
1010
vf.add_lines('1', [], ['a\n'])
1006
1011
vf.add_lines('2', ['1'], ['b\n', 'a\n'])
1008
1014
self.assertEqual(['1', '2'], vf.versions())
1009
1016
for version in readonly_vf.versions():
1010
1017
readonly_vf.get_lines(version)