Rev 5465: Use a coherent script syntax. in file:///home/vila/src/bzr/experimental/config/

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed Oct 13 15:17:10 BST 2010


At file:///home/vila/src/bzr/experimental/config/

------------------------------------------------------------
revno: 5465
revision-id: v.ladeuil+lp at free.fr-20101013141710-6md6yjsia3ld4mr5
parent: v.ladeuil+lp at free.fr-20101013141437-emlr4irn6vkbp42c
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: config-modify
timestamp: Wed 2010-10-13 16:17:10 +0200
message:
  Use a coherent script syntax.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_config.py'
--- a/bzrlib/tests/blackbox/test_config.py	2010-10-13 14:14:37 +0000
+++ b/bzrlib/tests/blackbox/test_config.py	2010-10-13 14:17:10 +0000
@@ -53,7 +53,7 @@
 
     def test_bazaar_config(self):
         self.bazaar_config.set_user_option('hello', 'world')
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree
 bazaar:
   hello = world
@@ -62,7 +62,7 @@
     def test_locations_config_for_branch(self):
         self.locations_config.set_user_option('hello', 'world')
         self.branch_config.set_user_option('hello', 'you')
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree
 locations:
   hello = world
@@ -73,7 +73,7 @@
     def test_locations_config_outside_branch(self):
         self.bazaar_config.set_user_option('hello', 'world')
         self.locations_config.set_user_option('hello', 'world')
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config
 bazaar:
   hello = world
@@ -91,7 +91,7 @@
                            ['config', '--scope', 'moon', 'hello=world'])
 
     def test_bazaar_config_outside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config --scope bazaar hello=world
 $ bzr config -d tree hello
 bazaar:
@@ -99,7 +99,7 @@
 ''')
 
     def test_bazaar_config_inside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope bazaar hello=world
 $ bzr config -d tree hello
 bazaar:
@@ -107,7 +107,7 @@
 ''')
 
     def test_locations_config_inside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope locations hello=world
 $ bzr config -d tree hello
 locations:
@@ -115,7 +115,7 @@
 ''')
 
     def test_branch_config_default(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree hello=world
 $ bzr config -d tree hello
 branch:
@@ -123,7 +123,7 @@
 ''')
 
     def test_branch_config_forcing_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope branch hello=world
 $ bzr config -d tree hello
 branch:
@@ -142,7 +142,7 @@
                            ['config', '--scope', 'moon', '--remove', 'file'])
 
     def test_bazaar_config_outside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config --scope bazaar --remove file
 $ bzr config -d tree file
 locations:
@@ -152,7 +152,7 @@
 ''')
 
     def test_bazaar_config_inside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope bazaar --remove file
 $ bzr config -d tree file
 locations:
@@ -162,7 +162,7 @@
 ''')
 
     def test_locations_config_inside_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope locations --remove file
 $ bzr config -d tree file
 branch:
@@ -172,7 +172,7 @@
 ''')
 
     def test_branch_config_default(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --remove file
 $ bzr config -d tree file
 branch:
@@ -180,7 +180,7 @@
 bazaar:
   file = bazaar
 ''')
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --remove file
 $ bzr config -d tree file
 bazaar:
@@ -188,7 +188,7 @@
 ''')
 
     def test_branch_config_forcing_branch(self):
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --scope branch --remove file
 $ bzr config -d tree file
 locations:
@@ -196,7 +196,7 @@
 bazaar:
   file = bazaar
 ''')
-        script.run_script(self, '''
+        script.run_script(self, '''\
 $ bzr config -d tree --remove file
 $ bzr config -d tree file
 bazaar:



More information about the bazaar-commits mailing list