Rev 1696: Fix test. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Fri Aug 29 17:03:33 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1696
revision-id: jelmer at samba.org-20080829160332-n40golaczzz3wkxp
parent: jelmer at samba.org-20080829160052-tmmvsruepain9qac
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Fri 2008-08-29 18:03:32 +0200
message:
  Fix test.
modified:
  tests/test_convert.py          test_convert.py-20060705203611-b1l0bapeku6foco0-1
=== modified file 'tests/test_convert.py'
--- a/tests/test_convert.py	2008-08-29 15:39:07 +0000
+++ b/tests/test_convert.py	2008-08-29 16:03:32 +0000
@@ -409,5 +409,5 @@
             abspath = '/' + abspath
         branch = Branch.open(os.path.join(self.test_dir, "e", "trunk"))
         self.assertEqual(local_path_to_url(os.path.join(self.test_dir, "e", "trunk")), branch.base.rstrip("/"))
-        self.assertEqual(mapping.generate_revision_id(("6987ef2d-cd6b-461f-9991-6f1abef3bd59", 1, 'trunk')), branch.last_revision())
+        self.assertEqual(mapping.revision_id_foreign_to_bzr(("6987ef2d-cd6b-461f-9991-6f1abef3bd59", 1, 'trunk')), branch.last_revision())
 




More information about the bazaar-commits mailing list