diff --git a/tests/cloud/deployment/google/test_answer_pub_sub_question.py b/tests/cloud/deployment/google/test_answer_pub_sub_question.py index 8e8a09e09..9107c72d8 100644 --- a/tests/cloud/deployment/google/test_answer_pub_sub_question.py +++ b/tests/cloud/deployment/google/test_answer_pub_sub_question.py @@ -94,7 +94,9 @@ class MockOpenForConfigurationFiles(MockOpen): project_name="a-project-name", ) - self.assertEqual(mock_constructor.call_args.kwargs["service_configuration"].app_source_path, "/path/to/app_dir") + self.assertTrue( + mock_constructor.call_args.kwargs["service_configuration"].app_source_path.endswith("path/to/app_dir") + ) self.assertTrue( mock_constructor.call_args.kwargs["service_configuration"].twine_path.endswith("path/to/twine.json") )