Merge branch '8784-dir-listings'
[arvados.git] / sdk / python / tests / test_sdk.py
index 8c56180059d4b79991120d4bf3842c03c3869d6b..41add57c0e4922b49bc87b4ffaba265624413a20 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 import mock
 import os
 import unittest
@@ -39,5 +43,5 @@ class TestSDK(unittest.TestCase):
 
         # Because one_task_per_input_file normalizes this collection,
         # it should now create only one job task and not three.
-        arvados.job_setup.one_task_per_input_file(and_end_task=False, arvapi=mock_api)
+        arvados.job_setup.one_task_per_input_file(and_end_task=False, api_client=mock_api)
         mock_api.job_tasks().create().execute.assert_called_once_with()