Rev 5235: (vila, mgz) Blue babune for win32 ! in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Fri May 14 17:01:34 BST 2010
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 5235 [merge]
revision-id: pqm at pqm.ubuntu.com-20100514160131-h02nbvcnwi2o80nw
parent: pqm at pqm.ubuntu.com-20100514133947-o8t1joscqjty5n3k
parent: v.ladeuil+lp at free.fr-20100514143923-iiof7endc56p76xj
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2010-05-14 17:01:31 +0100
message:
(vila, mgz) Blue babune for win32 !
modified:
bzrlib/tests/per_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
=== modified file 'bzrlib/tests/per_versionedfile.py'
--- a/bzrlib/tests/per_versionedfile.py 2010-02-23 07:43:11 +0000
+++ b/bzrlib/tests/per_versionedfile.py 2010-05-14 14:29:28 +0000
@@ -999,13 +999,20 @@
# we should be able to read from http with a versioned file.
vf = self.get_file()
# try an empty file access
- readonly_vf = self.get_factory()('foo', get_transport(self.get_readonly_url('.')))
+ readonly_vf = self.get_factory()('foo', get_transport(
+ self.get_readonly_url('.')))
self.assertEqual([], readonly_vf.versions())
+
+ def test_readonly_http_works_with_feeling(self):
+ # we should be able to read from http with a versioned file.
+ vf = self.get_file()
# now with feeling.
vf.add_lines('1', [], ['a\n'])
vf.add_lines('2', ['1'], ['b\n', 'a\n'])
- readonly_vf = self.get_factory()('foo', get_transport(self.get_readonly_url('.')))
+ readonly_vf = self.get_factory()('foo', get_transport(
+ self.get_readonly_url('.')))
self.assertEqual(['1', '2'], vf.versions())
+ self.assertEqual(['1', '2'], readonly_vf.versions())
for version in readonly_vf.versions():
readonly_vf.get_lines(version)
More information about the bazaar-commits
mailing list