Rev 2806: Start adding tests for bug 93860 in http://sourcefrog.net/bzr/tags
Martin Pool
mbp at sourcefrog.net
Mon Sep 10 10:51:34 BST 2007
At http://sourcefrog.net/bzr/tags
------------------------------------------------------------
revno: 2806
revision-id: mbp at sourcefrog.net-20070910095133-yvlr99xkorynbdue
parent: pqm at pqm.ubuntu.com-20070907145828-hjh5941jv7y8d9z8
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: tags
timestamp: Mon 2007-09-10 19:51:33 +1000
message:
Start adding tests for bug 93860
modified:
bzrlib/tests/test_tag.py test_tag.py-20070212110532-91cw79inah2cfozx-2
=== modified file 'bzrlib/tests/test_tag.py'
--- a/bzrlib/tests/test_tag.py 2007-03-14 03:42:40 +0000
+++ b/bzrlib/tests/test_tag.py 2007-09-10 09:51:33 +0000
@@ -26,6 +26,7 @@
_merge_tags_if_possible,
)
from bzrlib.tests import (
+ KnownFailure,
TestCase,
TestCaseWithTransport,
)
@@ -78,3 +79,19 @@
old_branch.tags.merge_to(new_branch.tags)
self.assertRaises(errors.TagsNotSupported,
new_branch.tags.merge_to, old_branch.tags)
+
+
+class TestTagsInCheckouts(TestCaseWithTransport):
+
+ def make_branch_supporting_tags(self, relpath):
+ return self.make_branch(relpath)
+
+ def test_tag_in_checkout(self):
+ # checkouts are directly connected to the tags of their master branch:
+ # adding a tag in the checkout pushes it to the master
+ raise KnownFailure("not tested yet")
+
+ def test_update_updates_tags(self):
+ raise KnownFailure(
+ "TODO: updating the checkout should update the checkout's copy of the\
+ tag dictionary")
More information about the bazaar-commits
mailing list