/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        super(TestProber, self).setUp()
105
105
        self.prober = self.prober_cls()
106
106
 
107
 
    def test_priority(self):
108
 
        transport = self.get_transport(".")
109
 
        self.assertIsInstance(self.prober.priority(transport), int)
110
 
 
111
107
    def test_probe_transport_empty(self):
112
108
        transport = self.get_transport(".")
113
109
        self.assertRaises(errors.NotBranchError,
245
241
 
246
242
    def test_is_bzrdir(self):
247
243
        self.assertTrue(controldir.is_control_filename('.bzr'))
248
 
        self.assertTrue(controldir.is_control_filename('.git'))
249
244
 
250
245
    def test_is_not_bzrdir(self):
 
246
        self.assertFalse(controldir.is_control_filename('.git'))
251
247
        self.assertFalse(controldir.is_control_filename('bla'))