~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_read_bundle.py

Use the Command pattern for smart server request handling

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
        self._captureVar('BZR_NO_SMART_VFS', None)
67
67
        wt = self.create_test_bundle()
68
68
        if wt is None:
69
69
            return
75
75
    def test_read_fail(self):
76
76
        # Trying to read from a directory, or non-bundle file
77
77
        # should fail with NotABundle
78
 
        self._captureVar('NO_SMART_VFS', None)
 
78
        self._captureVar('BZR_NO_SMART_VFS', None)
79
79
        wt = self.create_test_bundle()
80
80
        if wt is None:
81
81
            return