Rev 78: Add blackbox test for ls. in http://people.samba.org/bzr/jelmer/bzr-git/trunk
Jelmer Vernooij
jelmer at samba.org
Sat Jul 26 17:27:49 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-git/trunk
------------------------------------------------------------
revno: 78
revision-id: jelmer at samba.org-20080726161926-9ir1zx88h7a72wwn
parent: jelmer at samba.org-20080726161053-msgl8n8xn5w12b6b
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-07-26 18:19:26 +0200
message:
Add blackbox test for ls.
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:09:02 +0000
+++ b/tests/test_blackbox.py 2008-07-26 16:19:26 +0000
@@ -34,13 +34,18 @@
builder.commit('Joe Foo <joe at foo.com>', u'<The commit message>')
builder.finish()
-
def test_info(self):
self.simple_commit()
output, error = self.run_bzr(['info'])
self.assertEqual(error, '')
self.assertTrue("Repository branch (format: git)" in output)
+ def test_ls(self):
+ self.simple_commit()
+ output, error = self.run_bzr(['ls'])
+ self.assertEqual(error, '')
+ self.assertEqual(output, "a\n")
+
def test_info_verbose(self):
self.simple_commit()
More information about the bazaar-commits
mailing list