Rev 207: Fixed test. in http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
Daniel Watkins
daniel at daniel-watkins.co.uk
Tue Jul 22 19:07:35 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/abstract-patch
------------------------------------------------------------
revno: 207
revision-id: daniel at daniel-watkins.co.uk-20080722180606-jin7oe29x63yhx8s
parent: daniel at daniel-watkins.co.uk-20080722173426-7we2a37o6gbirsy2
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: abstract-patch
timestamp: Tue 2008-07-22 19:06:06 +0100
message:
Fixed test.
-------------- next part --------------
=== modified file 'pqm/tests/test_pqm.py'
--- a/pqm/tests/test_pqm.py 2008-07-22 17:34:26 +0000
+++ b/pqm/tests/test_pqm.py 2008-07-22 18:06:06 +0000
@@ -410,9 +410,9 @@
handler = pqm.BranchSpecOptionHandler(configp, queuedir='queue')
command = PatchCommand(script, handler, configp, patch, 'foo')
e = self.assertRaises(PQMException, command.run)
- self.assert_("Invalid absolute filename in patch: /bar 2008-07-20"
- " 16:06:48.000000000 +0100",
- str(e))
+ self.assertEqual("'Invalid absolute filename in patch: /bar 2008-07-20"
+ " 16:06:48.000000000 +0100'",
+ str(e))
class FunctionalTestCommandRunner(unittest.TestCase):
More information about the bazaar-commits
mailing list