Rev 221: Fixed failing test. in http://bzr.daniel-watkins.co.uk/pqm/xmlrpc
Daniel Watkins
daniel at daniel-watkins.co.uk
Fri Aug 1 04:11:41 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/xmlrpc
------------------------------------------------------------
revno: 221
revision-id: daniel at daniel-watkins.co.uk-20080801031003-8qgqfqp7ln435rjk
parent: daniel at daniel-watkins.co.uk-20080801030942-ccrjkptnez0vnv40
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: xmlrpc-validation
timestamp: Fri 2008-08-01 04:10:03 +0100
message:
Fixed failing test.
-------------- next part --------------
=== modified file 'pqm/ui/tests/test_xmlrpc.py'
--- a/pqm/ui/tests/test_xmlrpc.py 2008-08-01 03:03:51 +0000
+++ b/pqm/ui/tests/test_xmlrpc.py 2008-08-01 03:10:03 +0000
@@ -63,8 +63,8 @@
msg = (sample_message_template %
('star-merge baz http://www.example.com/foo/unregistered',))
out = xmlrpc.xmlrpc_submit(msg)
- self.assertEqual('http://www.example.com/foo/unregistered is not'
- ' managed by PQM',
+ self.assertEqual('Sender not authorised to commit to branch'
+ ' http://www.example.com/foo/unregistered',
out)
patches = [f for f in os.listdir(queuedir) if f.startswith('patch.')]
self.assertEqual(0, len(patches))
More information about the bazaar-commits
mailing list