~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

(FakeVFAT) add test for detection of invalid characters

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
        self.assertTrue(transport.has('hello'))
295
295
        self.assertTrue(transport.has('Hello'))
296
296
 
 
297
    def test_forbidden_chars(self):
 
298
        transport = self.get_vfat_transport('.')
 
299
        self.assertRaises(ValueError, transport.has, "<NU>")
 
300
 
 
301
 
297
302
 
298
303
class BadTransportHandler(Transport):
299
304
    def __init__(self, base_url):