~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testconfig.py

  • Committer: Aaron Bentley
  • Date: 2005-10-18 18:48:27 UTC
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1474.
  • Revision ID: abentley@panoramicfeedback.com-20051018184827-2cc69376beb1cdf3
Switched to ConfigObj

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        my_config = config.IniBasedConfig("nothing")
172
172
 
173
173
    def test_from_fp(self):
 
174
        print "Skip ConfigParser-specific test"
 
175
        return
174
176
        config_file = StringIO(sample_config_text)
175
177
        my_config = config.IniBasedConfig(None)
176
178
        self.failUnless(
191
193
        my_config = config.GlobalConfig()
192
194
 
193
195
    def test_calls_read_filenames(self):
 
196
        print "Skip ConfigParser-specific test"
 
197
        return
194
198
        # replace the class that is constructured, to check its parameters
195
199
        oldparserclass = config.ConfigParser
196
200
        config.ConfigParser = InstrumentedConfigParser
296
300
 
297
301
    def test_branch_calls_read_filenames(self):
298
302
        # replace the class that is constructured, to check its parameters
 
303
        print "Skip ConfigParser-specific test"
 
304
        return
299
305
        oldparserclass = config.ConfigParser
300
306
        config.ConfigParser = InstrumentedConfigParser
301
307
        my_config = config.LocationConfig('http://www.example.com')