Rev 83: Add blackbox test for 'bzr tags' in http://people.samba.org/bzr/jelmer/bzr-git/trunk

Jelmer Vernooij jelmer at samba.org
Sat Jul 26 19:06:05 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-git/trunk

------------------------------------------------------------
revno: 83
revision-id: jelmer at samba.org-20080726180605-4s5n9pzns0nlcuda
parent: jelmer at samba.org-20080726180555-ll8rqbejw60x5l7v
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-07-26 20:06:05 +0200
message:
  Add blackbox test for 'bzr tags'
modified:
  tests/test_blackbox.py         test_blackbox.py-20071228193717-18el6d8x4qddug3w-1
=== modified file 'tests/test_blackbox.py'
--- a/tests/test_blackbox.py	2008-07-26 16:23:36 +0000
+++ b/tests/test_blackbox.py	2008-07-26 18:06:05 +0000
@@ -74,3 +74,12 @@
         # Check that bzr log does not fail and includes the revision.
         output, error = self.run_bzr(['log', '-v'])
  
+    def test_tags(self):
+        self.simple_commit()
+
+        tests.run_git("tag", "foo")
+
+        output, error = self.run_bzr(['tags'])
+        self.assertEquals(error, '')
+        self.assertEquals(output, "foo                  1\n")
+




More information about the bazaar-commits mailing list