Revert "Remove mock changes used locally"

This reverts commit 7785555a94.
This commit is contained in:
ChrisTerBeke 2019-01-15 09:35:28 +01:00
parent 7785555a94
commit de24c7d9c3
3 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ class TestCloudOutputDevice(TestCase):
self.network = NetworkManagerMock()
self.account = MagicMock(isLoggedIn=True, accessToken="TestAccessToken")
self.onError = MagicMock()
with patch("src.Cloud.CloudApiClient.QNetworkAccessManager",
with patch("plugins.UM3NetworkPrinting.src.Cloud.CloudApiClient.QNetworkAccessManager",
return_value = self.network):
self._api = CloudApiClient(self.account, self.onError)