11308: Fix misleading argument name.
authorTom Clegg <tom@curoverse.com>
Wed, 5 Apr 2017 19:28:07 +0000 (15:28 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 5 Apr 2017 19:48:44 +0000 (15:48 -0400)
sdk/python/tests/test_collections.py

index 879a199a46621a7dbbe297f52f94c37b06a3d895..da44ee28394454082f120ee3fc2c1e92a17f616b 100644 (file)
@@ -524,8 +524,8 @@ class CollectionTestMixin(tutil.ApiClientMock):
 
 @tutil.skip_sleep
 class CollectionReaderTestCase(unittest.TestCase, CollectionTestMixin):
-    def mock_get_collection(self, api_mock, code, body):
-        body = self.API_COLLECTIONS.get(body)
+    def mock_get_collection(self, api_mock, code, fixturename):
+        body = self.API_COLLECTIONS.get(fixturename)
         self._mock_api_call(api_mock.collections().get, code, body)
 
     def api_client_mock(self, status=200):