X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/37cd41354dd5acccd2c0405fbe0c4a8d29a79670..2b4a1e94e76f32be86540ed5048e8b544f9cb428:/sdk/python/tests/test_arv_put.py diff --git a/sdk/python/tests/test_arv_put.py b/sdk/python/tests/test_arv_put.py index c7b01bcb1f..001add3d7c 100644 --- a/sdk/python/tests/test_arv_put.py +++ b/sdk/python/tests/test_arv_put.py @@ -440,14 +440,15 @@ class ArvPutIntegrationTest(run_test_server.TestCaseWithServers, def test_check_real_project_found(self): self.authorize_with('active') - self.assertTrue(arv_put.desired_project_uuid(arv_put.api_client, self.PROJECT_UUID), + self.assertTrue(arv_put.desired_project_uuid(arv_put.api_client, self.PROJECT_UUID, 0), "did not correctly find test fixture project") def test_check_error_finding_nonexistent_uuid(self): BAD_UUID = 'zzzzz-zzzzz-zzzzzzzzzzzzzzz' self.authorize_with('active') try: - result = arv_put.desired_project_uuid(arv_put.api_client, BAD_UUID) + result = arv_put.desired_project_uuid(arv_put.api_client, BAD_UUID, + 0) except ValueError as error: self.assertIn(BAD_UUID, error.message) else: @@ -457,7 +458,8 @@ class ArvPutIntegrationTest(run_test_server.TestCaseWithServers, BAD_UUID = 'zzzzz-tpzed-zzzzzzzzzzzzzzz' self.authorize_with('active') with self.assertRaises(apiclient.errors.HttpError): - result = arv_put.desired_project_uuid(arv_put.api_client, BAD_UUID) + result = arv_put.desired_project_uuid(arv_put.api_client, BAD_UUID, + 0) def test_short_put_from_stdin(self): # Have to run this as an integration test since arv-put can't