Rev 4541: tracked down a few more blackbox test cases that were using push. in lp:///~jameinel/bzr/1.18-lock-warnings
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 31 18:53:04 BST 2009
At lp:///~jameinel/bzr/1.18-lock-warnings
------------------------------------------------------------
revno: 4541
revision-id: john at arbash-meinel.com-20090731175302-v3sb8tqttq3twvsr
parent: john at arbash-meinel.com-20090731174229-w2zdsdlfpeddk8gl
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.18-lock-warnings
timestamp: Fri 2009-07-31 12:53:02 -0500
message:
tracked down a few more blackbox test cases that were using push.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_non_ascii.py'
--- a/bzrlib/tests/blackbox/test_non_ascii.py 2009-07-06 07:49:05 +0000
+++ b/bzrlib/tests/blackbox/test_non_ascii.py 2009-07-31 17:53:02 +0000
@@ -285,6 +285,9 @@
# TODO: jam 20060427 For drastically improving performance, we probably
# could create a local repository, so it wouldn't have to copy
# the files around as much.
+ # Note that the tests don't actually fail, but if we don't set this
+ # flag, we end up getting "Lock was not Unlocked" warnings
+ self.thisFailsStrictLockCheck() # clone?
dirname = self.info['directory']
self.run_bzr_decode(['push', dirname])
=== modified file 'bzrlib/tests/blackbox/test_push.py'
--- a/bzrlib/tests/blackbox/test_push.py 2009-07-31 16:59:13 +0000
+++ b/bzrlib/tests/blackbox/test_push.py 2009-07-31 17:53:02 +0000
@@ -146,6 +146,7 @@
# bzr push of a branch with revisions to a new location
# should print the number of revisions equal to the length of the
# local branch.
+ self.thisFailsStrictLockCheck()
t = self.make_branch_and_tree('tree')
self.build_tree(['tree/file'])
t.add('file')
@@ -758,6 +759,7 @@
self.assertPushSucceeds(['--no-strict'])
def test_push_strict_command_line_override_config(self):
+ self.thisFailsStrictLockCheck()
self.set_config_push_strict('oFF')
self.assertPushFails(['--strict'])
self.assertPushSucceeds([])
More information about the bazaar-commits
mailing list