Rev 211: Added comment to test, as per jml's review. in http://bzr.daniel-watkins.co.uk/pqm/xmlrpc

Daniel Watkins daniel at daniel-watkins.co.uk
Thu Aug 7 03:13:14 BST 2008


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

------------------------------------------------------------
revno: 211
revision-id: daniel at daniel-watkins.co.uk-20080807021129-0tft5ozta0y3qhpi
parent: daniel at daniel-watkins.co.uk-20080807020506-si9cmfzk8fcrtbcw
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: xmlrpc
timestamp: Thu 2008-08-07 03:11:29 +0100
message:
  Added comment to test, as per jml's review.
-------------- next part --------------
=== modified file 'pqm/ui/tests/test_xmlrpc.py'
--- a/pqm/ui/tests/test_xmlrpc.py	2008-08-01 01:01:52 +0000
+++ b/pqm/ui/tests/test_xmlrpc.py	2008-08-07 02:11:29 +0000
@@ -35,6 +35,8 @@
         self.assertEqual("Error: 'No From specified'", out)
 
     def test_valid_submission(self):
+        # Tests that a valid message (i.e. one with a From and Subject line)
+        # receives the appropriate message from XMLRPC.
         xmlrpc = self.get_xmlrpc()
         out = xmlrpc.xmlrpc_submit(sample_message)
         self.assertEqual('Success!', out)



More information about the bazaar-commits mailing list