Rev 2: Fix tests with current bzr. The reported bug (187479) on push not setting feeds was a bzrlib bug. in http://people.ubuntu.com/~robertc/baz2.0/plugins/branchfeed/trunk

Robert Collins robertc at robertcollins.net
Thu Jul 10 09:29:19 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/plugins/branchfeed/trunk

------------------------------------------------------------
revno: 2
revision-id: robertc at robertcollins.net-20080710082919-1z43by0r0jjovh2g
parent: robertc at robertcollins.net-20070129175001-422ce4405f446d40
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Thu 2008-07-10 18:29:19 +1000
message:
  Fix tests with current bzr. The reported bug (187479) on push not setting feeds was a bzrlib bug.
modified:
  tests/test_hook.py             test_hook.py-20070129172729-withaw4ffooledsr-1
=== modified file 'tests/test_hook.py'
--- a/tests/test_hook.py	2007-01-29 17:50:01 +0000
+++ b/tests/test_hook.py	2008-07-10 08:29:19 +0000
@@ -30,7 +30,7 @@
     def test_set_rh_installed(self):
         """The _preserved hooks should have set_rh in them."""
         self.assertTrue(branch_feed.set_rh_hook in
-            self._preserved_hooks['set_rh'])
+            self._preserved_hooks[Branch]['set_rh'])
 
     def test_install_hooks(self):
         """branch_feed.set_rh_hook should be in Branch.hooks['set_rh']."""




More information about the bazaar-commits mailing list