Rev 1182: Add simple blackbox test for 'bzr branch' in file:///data/jelmer/bzr-svn/0.4/
Jelmer Vernooij
jelmer at samba.org
Sat May 24 16:42:06 BST 2008
At file:///data/jelmer/bzr-svn/0.4/
------------------------------------------------------------
revno: 1182
revision-id: jelmer at samba.org-20080524154205-urys5tpldo0bcz02
parent: jelmer at samba.org-20080524141235-73jy4roghismuu1z
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-05-24 17:42:05 +0200
message:
Add simple blackbox test for 'bzr branch'
modified:
tests/test_blackbox.py test_blackbox.py-20070325150839-d10llf8arptpcfl6-1
=== modified file 'tests/test_blackbox.py'
--- a/tests/test_blackbox.py 2008-05-15 01:23:34 +0000
+++ b/tests/test_blackbox.py 2008-05-24 15:42:05 +0000
@@ -29,6 +29,14 @@
def test_branch_empty(self):
repos_url = self.make_client('d', 'de')
self.run_bzr("branch %s dc" % repos_url)
+
+ def test_branch_onerev(self):
+ repos_url = self.make_client('d', 'de')
+ self.build_tree({'de/foo': 'bar'})
+ self.client_add('de/foo')
+ self.client_commit("de", "msg")
+ self.run_bzr("branch %s dc" % repos_url)
+ self.check_output("2\n", "revno de")
def test_log_empty(self):
repos_url = self.make_client('d', 'de')
More information about the bazaar-commits
mailing list