/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 bzrlib/tests/test_read_bundle.py

Setting NO_SMART_VFS in environment will disable VFS methods in the smart server. (Robert Collins, John Arbash Meinel, Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        return wt
64
64
 
65
65
    def test_read_bundle_from_url(self):
 
66
        self._captureVar('NO_SMART_VFS', None)
66
67
        wt = self.create_test_bundle()
67
68
        if wt is None:
68
69
            return
74
75
    def test_read_fail(self):
75
76
        # Trying to read from a directory, or non-bundle file
76
77
        # should fail with NotABundle
 
78
        self._captureVar('NO_SMART_VFS', None)
77
79
        wt = self.create_test_bundle()
78
80
        if wt is None:
79
81
            return