Rev 6024: Add a test for the new behavior. in http://bazaar.launchpad.net/~jameinel/bzr/2.4-launchpad-package-freshness-609187

John Arbash Meinel john at arbash-meinel.com
Fri Aug 5 16:45:31 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.4-launchpad-package-freshness-609187

------------------------------------------------------------
revno: 6024
revision-id: john at arbash-meinel.com-20110805164527-y0swohsinmalsf71
parent: john at arbash-meinel.com-20110805164253-vwi0dbt1sqkpzyn3
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.4-launchpad-package-freshness-609187
timestamp: Fri 2011-08-05 18:45:27 +0200
message:
  Add a test for the new behavior.
-------------- next part --------------
=== modified file 'bzrlib/plugins/launchpad/test_lp_api_lite.py'
--- a/bzrlib/plugins/launchpad/test_lp_api_lite.py	2011-07-26 08:18:56 +0000
+++ b/bzrlib/plugins/launchpad/test_lp_api_lite.py	2011-08-05 16:45:27 +0000
@@ -328,6 +328,9 @@
         self.assertNotPackageBranch(
             'http://bazaar.launchpad.net/+branch'
             '/~user/ubuntu/natty/foo/natty')
+        # Older versions of bzr-svn/hg/git did not set Branch.base until after
+        # they called Branch.__init__().
+        self.assertNotPackageBranch(None)
 
     def test__get_package_branch_info(self):
         self.assertBranchInfo(



More information about the bazaar-commits mailing list