~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Robert Collins
  • Date: 2009-04-27 03:27:46 UTC
  • mto: This revision was merged to the branch mainline in revision 4304.
  • Revision ID: robertc@robertcollins.net-20090427032746-vqmcsfbsbvbm04sk
Fixup tests broken by cleaning up the layering.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1069
1069
        self._captureVar('BZR_NO_SMART_VFS', None)
1070
1070
        err = self.assertRaises(
1071
1071
            errors.NoSuchFile, self.transport.get, 'not%20a%20file')
1072
 
        self.assertEqual('not%20a%20file', err.path)
 
1072
        self.assertSubset([err.path], ['not%20a%20file', './not%20a%20file'])
1073
1073
 
1074
1074
    def test_simple_clone_conn(self):
1075
1075
        """Test that cloning reuses the same connection."""