74
74
super(TestConfigDisplay, self).setUp()
75
75
_t_config.create_configs(self)
77
def test_multiline_all_values(self):
78
self.bazaar_config.set_user_option('multiline', '1\n2\n')
79
script.run_script(self, """\
87
def test_multiline_value_only(self):
88
self.bazaar_config.set_user_option('multiline', '1\n2\n')
89
script.run_script(self, """\
90
$ bzr config -d tree multiline
96
def test_list_all_values(self):
97
self.bazaar_config.set_user_option('list', [1, 'a', 'with, a comma'])
98
script.run_script(self, '''\
101
list = 1, a, "with, a comma"
104
def test_list_value_only(self):
105
self.bazaar_config.set_user_option('list', [1, 'a', 'with, a comma'])
106
script.run_script(self, '''\
107
$ bzr config -d tree list
108
1, a, "with, a comma"
77
111
def test_bazaar_config(self):
78
112
self.bazaar_config.set_user_option('hello', 'world')
79
113
script.run_script(self, '''\