~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_urlutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-11-22 21:54:24 UTC
  • mfrom: (5546.1.1 remove-old-dev-formats)
  • Revision ID: pqm@pqm.ubuntu.com-20101122215424-tfww6o1rayiyq1m7
(spiv) Remove RepositoryFormatCHK1 and RepositoryFormatCHK2. (Andrew
 Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
            from_url('file:///d:/path/to/r%c3%a4ksm%c3%b6rg%c3%a5s'))
420
420
        self.assertEqual('/', from_url('file:///'))
421
421
 
 
422
        self.assertRaises(InvalidURL, from_url, 'file:///C:')
 
423
        self.assertRaises(InvalidURL, from_url, 'file:///c')
422
424
        self.assertRaises(InvalidURL, from_url, '/path/to/foo')
423
425
        # Not a valid _win32 url, no drive letter
424
426
        self.assertRaises(InvalidURL, from_url, 'file:///path/to/foo')