/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_bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-22 11:51:56 UTC
  • mfrom: (7356 work)
  • mto: This revision was merged to the branch mainline in revision 7358.
  • Revision ID: jelmer@jelmer.uk-20190622115156-20uwy6b97g94bbv1
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1240
1240
        return out.splitlines()
1241
1241
 
1242
1242
    def test_dot_bzr_hidden(self):
1243
 
        if sys.platform == 'win32' and not win32utils.has_win32file:
1244
 
            raise TestSkipped(
1245
 
                'unable to make file hidden without pywin32 library')
1246
1243
        b = bzrdir.BzrDir.create('.')
1247
1244
        self.build_tree(['a'])
1248
1245
        self.assertEqual([b'a'], self.get_ls())
1249
1246
 
1250
1247
    def test_dot_bzr_hidden_with_url(self):
1251
 
        if sys.platform == 'win32' and not win32utils.has_win32file:
1252
 
            raise TestSkipped(
1253
 
                'unable to make file hidden without pywin32 library')
1254
1248
        b = bzrdir.BzrDir.create(urlutils.local_path_to_url('.'))
1255
1249
        self.build_tree(['a'])
1256
1250
        self.assertEqual([b'a'], self.get_ls())