Fixed all codestyle and nitpicks from review

This commit is contained in:
ChrisTerBeke 2019-01-11 16:33:49 +01:00
parent e465bd771a
commit 3c10cca0de
7 changed files with 39 additions and 38 deletions

View file

@ -39,7 +39,7 @@ class TestCloudApiClient(TestCase):
data = parseFixture("getClusters")["data"]
self.network.prepareReply("GET", CuraCloudAPIRoot + "/connect/v1/clusters", 200, response)
# the callback is a function that adds the result of the call to getClusters to the result list
# The callback is a function that adds the result of the call to getClusters to the result list
self.api.getClusters(lambda clusters: result.extend(clusters))
self.network.flushReplies()