~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testconfig.py

  • Committer: Robert Collins
  • Date: 2005-10-14 03:55:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1456.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051014035502-e2b68b86f17c52fc
explicit over glob test passes

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
        self.assertEqual('/a/', my_config._get_section())
299
299
 
300
300
    def test__get_section_explicit_over_glob(self):
301
 
        my_config = self.get_location_config('/a/c')
302
 
        self.assertEqual('/a/c/', my_config._get_section())
 
301
        self.get_location_config('/a/c')
 
302
        self.assertEqual('/a/c', self.my_config._get_section())
303
303
 
304
304
    def get_location_config(self, location):
305
305
        global_file = StringIO(sample_config_text)