~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_config.py

(jameinel) Bug #581311,
 treat WSAECONNABORTED as ConnectionReset. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
    def test_multiline_all_values(self):
78
78
        self.bazaar_config.set_user_option('multiline', '1\n2\n')
79
 
        # Fallout from bug 710410, the triple quotes have been toggled
80
 
        script.run_script(self, '''\
 
79
        script.run_script(self, """\
81
80
            $ bzr config -d tree
82
81
            bazaar:
83
 
              multiline = """1
 
82
              multiline = '''1
84
83
            2
85
 
            """
86
 
            ''')
 
84
            '''
 
85
            """)
87
86
 
88
87
    def test_multiline_value_only(self):
89
88
        self.bazaar_config.set_user_option('multiline', '1\n2\n')
90
 
        # Fallout from bug 710410, the triple quotes have been toggled
91
 
        script.run_script(self, '''\
 
89
        script.run_script(self, """\
92
90
            $ bzr config -d tree multiline
93
 
            """1
 
91
            '''1
94
92
            2
95
 
            """
96
 
            ''')
 
93
            '''
 
94
            """)
97
95
 
98
96
    def test_list_all_values(self):
99
97
        self.bazaar_config.set_user_option('list', [1, 'a', 'with, a comma'])