Rev 192: Some typo fixes. in http://bzr.daniel-watkins.co.uk/pqm/tag

Daniel Watkins daniel at daniel-watkins.co.uk
Tue Jul 22 21:32:51 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/tag

------------------------------------------------------------
revno: 192
revision-id: daniel at daniel-watkins.co.uk-20080722203123-2v31n9qh8z9jhrhf
parent: daniel at daniel-watkins.co.uk-20080722202855-59qfj76n4m9c9ed2
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: tag
timestamp: Tue 2008-07-22 21:31:23 +0100
message:
  Some typo fixes.
-------------- next part --------------
=== modified file 'pqm/tests/test_pqm.py'
--- a/pqm/tests/test_pqm.py	2008-07-22 20:28:55 +0000
+++ b/pqm/tests/test_pqm.py	2008-07-22 20:31:23 +0000
@@ -451,13 +451,13 @@
 
     def test_TagCommand_bad_revno(self):
         command = self.get_tag_command('42', 'tag')
-        e = self.assertRaises(PQMException, command.run()
+        e = self.assertRaises(PQMException, command.run)
         self.assertEqual("'Revision number '42' does not exist in the branch"
                          " 'foo'.'", str(e))
 
-    def test_TagCommand_bad_revno(self):
+    def test_TagCommand_bad_revid(self):
         command = self.get_tag_command('bad-revid', 'tag')
-        e = self.assertRaises(PQMException, command.run()
+        e = self.assertRaises(PQMException, command.run)
         self.assertEqual("'Revision 'bad-revid' does not exist in the branch"
                          " 'foo'.'", str(e))
 



More information about the bazaar-commits mailing list