Merge lp:~daniel-thewatkins/pqm/rename-test-strings into lp:pqm
Proposed by
Dan Watkins
on 2008-07-03
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~daniel-thewatkins/pqm/rename-test-strings |
| Merge into: | lp:pqm |
| Prerequisite: | lp:~daniel-thewatkins/pqm/fix-tests |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/pqm/rename-test-strings |
| Related bugs: |
This proposal has been superseded by a proposal from 2008-07-16.
To post a comment you must log in.
| Dan Watkins (daniel-thewatkins) wrote : | # |
Download full text (12.3 KiB)
| Robert Collins (lifeless) wrote : | # |
currently conflicts
lp:~daniel-thewatkins/pqm/rename-test-strings
updated
on 2008-07-16
- 182. By Dan Watkins on 2008-07-16
-
Merged pqm.dev. There were epic conflicts.
Unmerged revisions
Updating diff...
An updated diff will be available in a few minutes. Reload to see the changes.

=== modified file 'pqm/tests/ test_pqm. py' test_pqm. py 2007-05-21 01:08:46 +0000 test_pqm. py 2008-07-03 00:37:57 +0000
--- pqm/tests/
+++ pqm/tests/
@@ -1,31 +1,33 @@
-
-from twisted.trial import unittest
-import config_manager
+import logging
import os
-import logging
import shutil
from StringIO import StringIO
+from bzrlib.tests import TestCaseWithTra nsport
+import config_manager
+from twisted.trial import unittest
+
import pqm
sample_message = ("From: <email address hidden>\n"
"Subject: A new action\n" /bar--foo- -1") www.example. com/foo/ bar " www.example. com/bar/ baz")
"Subject: A new action\n" /bar--foo- -2") www.example. com/qux/ thud " www.example. com/fred/ waldo")
"Subject: A new action\n" /bar--foo- -1") www.example. com/foo/ bar " www.example. com/foo/ unregistered") signed_ message = ("From: <email address hidden> (Matthew Thomas)\n" /launchpad- -devel- -0 <email address hidden> /launchpad- -devel- -0\n" www.example. com/argh/ blah " www.example. com/bing/ bong\n"
- "star-merge <email address hidden>/foo--bar--0 "
- "<email address hidden>
+ "star-merge http://
+ "http://
sample_message_2 = ("From: <email address hidden>\n"
- "star-merge <email address hidden>/foo--bar--0 "
- "<email address hidden>
+ "star-merge http://
+ "http://
sample_message_bad = ("From: <email address hidden>\n"
- "star-merge <email address hidden>/foo--bar--0 "
- "<email address hidden>
+ "star-merge http://
+ "http://
sample_
"Subject: [trivial] fix various actions portlet icons\n"
"-----BEGIN PGP SIGNED MESSAGE-----\n"
"Hash: SHA1\n"
"\n"
- "star-merge <email address hidden>
+ "star-merge http://
+ "http://
"-----BEGIN PGP SIGNATURE-----\n"
"Version: GnuPG v1.2.5 (GNU/Linux)\n"
"\n"
@@ -69,11 +71,11 @@
sample_ config_ unpublished = ("[DEFAULT]\n"
"queuedir= /tmp\n" gam--foo- -0]\n") www.example. com/bar/ baz]\n")
- "[foo@bar/
+ "[http://
sample_ config_ published = ("[DEFAULT]\n"
"queuedir= /tmp\n" gam--foo- -0]\n" www.example. com/bar/ baz]\n"
"published_ at=file: ///a\n"
"[file: ///tmp/ foo]\n"
"published_ at=file: ///b\n"
myFile= open(self. configFileName, "w")
myFile. write(" [DEFAULT] \n"
"queuedir= %s/queue\ n" /bar--foo- -1]\n" www.example. com/bar/ baz]\n"
"project= project\ n" /bar--foo- -2]\n" www.example. com/fred/ waldo]\n"
% self.cwd)
myFile. close()
self. queuedir = os.path. join(self. cwd, "queue")
self. assertEqual( script. ..
- "[foo@bar/
+ "[http://
@@ -109,9 +111,9 @@
- "[<email address hidden>
+ "[http://
- "[<email address hidden>
+ "[http://
@@ -174,16 +176,17 @@