~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
class TestInit(TestCaseWithTransport):
37
37
 
38
38
    def setUp(self):
39
 
        super(TestInit, self).setUp()
 
39
        TestCaseWithTransport.setUp(self)
40
40
        self._default_label = '2a'
41
41
 
42
42
    def test_init_with_format(self):
168
168
 
169
169
    def test_init_default_format_option(self):
170
170
        """bzr init should read default format from option default_format"""
171
 
        g_store = _mod_config.GlobalStore()
172
 
        g_store._load_from_string('''
 
171
        conf = _mod_config.GlobalConfig.from_string('''
173
172
[DEFAULT]
174
173
default_format = 1.9
175
 
''')
176
 
        g_store.save()
 
174
''', save=True)
177
175
        out, err = self.run_bzr_subprocess('init')
178
176
        self.assertContainsRe(out, '1.9')
179
177