Rev 5625: Fix pqm failures. in http://bazaar.launchpad.net/~vila/bzr/2.3-integration/

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Feb 22 12:59:14 UTC 2011


At http://bazaar.launchpad.net/~vila/bzr/2.3-integration/

------------------------------------------------------------
revno: 5625
revision-id: v.ladeuil+lp at free.fr-20110222125914-0yqcl2ygqt3ozpdq
parent: v.ladeuil+lp at free.fr-20110222112519-xaciak2umbmkr5gi
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 2.3.1-dev
timestamp: Tue 2011-02-22 13:59:14 +0100
message:
  Fix pqm failures.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_config.py'
--- a/bzrlib/tests/blackbox/test_config.py	2010-11-09 16:26:07 +0000
+++ b/bzrlib/tests/blackbox/test_config.py	2011-02-22 12:59:14 +0000
@@ -76,22 +76,24 @@
 
     def test_multiline_all_values(self):
         self.bazaar_config.set_user_option('multiline', '1\n2\n')
-        script.run_script(self, """\
+        # Fallout from bug 710410, the triple quotes have been toggled
+        script.run_script(self, '''\
             $ bzr config -d tree
             bazaar:
-              multiline = '''1
+              multiline = """1
             2
-            '''
-            """)
+            """
+            ''')
 
     def test_multiline_value_only(self):
         self.bazaar_config.set_user_option('multiline', '1\n2\n')
-        script.run_script(self, """\
+        # Fallout from bug 710410, the triple quotes have been toggled
+        script.run_script(self, '''\
             $ bzr config -d tree multiline
-            '''1
+            """1
             2
-            '''
-            """)
+            """
+            ''')
 
     def test_list_all_values(self):
         self.bazaar_config.set_user_option('list', [1, 'a', 'with, a comma'])



More information about the bazaar-commits mailing list