Rev 4790: Simple attribute fix for a win32 test in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-set-parent
John Arbash Meinel
john at arbash-meinel.com
Sun Nov 8 03:00:42 GMT 2009
At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-win32-set-parent
------------------------------------------------------------
revno: 4790
revision-id: john at arbash-meinel.com-20091108030033-y5u0x7rpxbu5jsys
parent: pqm at pqm.ubuntu.com-20091106084512-t5ll6xywcd1bycfe
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0b4-win32-set-parent
timestamp: Sat 2009-11-07 21:00:33 -0600
message:
Simple attribute fix for a win32 test
8 tests because of permutation now pass instead of fail.
Using D: because B: may be a floppy drive which generally
performs poorly. We don't really care whether D: exists or
not.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_branch/test_parent.py'
--- a/bzrlib/tests/per_branch/test_parent.py 2009-04-15 03:45:24 +0000
+++ b/bzrlib/tests/per_branch/test_parent.py 2009-11-08 03:00:33 +0000
@@ -96,11 +96,11 @@
if sys.platform != 'win32':
raise TestSkipped('windows-specific test')
b = self.make_branch('.')
- base_url = b.abspath('.')
+ base_url = b.bzrdir.transport.abspath('.')
if not base_url.startswith('file:///'):
raise TestNotApplicable('this test should be run with local base')
base = urlutils.local_path_from_url(base_url)
- other = 'file:///B:/path'
+ other = 'file:///D:/path'
if base[0] != 'C':
other = 'file:///C:/path'
b.set_parent(other)
More information about the bazaar-commits
mailing list