~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2012-01-03 12:56:06 UTC
  • mfrom: (6404.4.2 config-cmdline)
  • Revision ID: pqm@pqm.ubuntu.com-20120103125606-36p3u22k8kzbhoqc
(vila) Cleanup the configCommandLineStore implementation. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
              hello = world
147
147
            ''')
148
148
 
 
149
    def test_cmd_line(self):
 
150
        self.bazaar_config.set_user_option('hello', 'world')
 
151
        script.run_script(self, '''\
 
152
            $ bzr config -Ohello=bzr
 
153
            cmdline:
 
154
              hello = bzr
 
155
            bazaar:
 
156
              [DEFAULT]
 
157
              hello = world
 
158
            ''')
 
159
 
149
160
 
150
161
class TestConfigDisplayWithPolicy(tests.TestCaseWithTransport):
151
162