diff --git a/tests/test_stack_report_helper.py b/tests/test_stack_report_helper.py index 4d20978..0b48a95 100644 --- a/tests/test_stack_report_helper.py +++ b/tests/test_stack_report_helper.py @@ -344,7 +344,11 @@ def test_invoke_emr_api_success(_mock): @mock.patch('requests.post', side_effect=mock_emr_api_fail) def test_invoke_emr_api_failure(_mock): """Test invoke emr api with status 400.""" - result = r.invoke_emr_api('test-bucket', 'maven', '2019-01-03', 'http://github.com/test/test') + result = r.invoke_emr_api('test-bucket', 'maven', '2019-01-03', 'http://github.com/test/test', { + "lower_limit": 13, + "upper_limit": 15, + "latent_factor": 300 + }) assert result is None