def _load_connector(self, mock_remotefs_cls, *args, **kwargs): self._connector = smbfs.WindowsSMBFSConnector(*args, **kwargs) self._remotefs = mock_remotefs_cls.return_value self._vhdutils = self._connector._vhdutils self._diskutils = self._connector._diskutils
def setUp(self, mock_remotefs_cls): super(WindowsSMBFSConnectorTestCase, self).setUp() self._connector = smbfs.WindowsSMBFSConnector() self._remotefs = mock_remotefs_cls.return_value