diff --git a/test/units/modules/cloud/amazon/test_lambda.py b/test/units/modules/cloud/amazon/test_lambda.py index 594b5fc6ba..3d30ddac5e 100644 --- a/test/units/modules/cloud/amazon/test_lambda.py +++ b/test/units/modules/cloud/amazon/test_lambda.py @@ -144,6 +144,8 @@ def test_update_lambda_if_config_changed(monkeypatch): assert(len(fake_lambda_connection.update_function_code.mock_calls) == 0), \ "updated lambda code when no change should have happened" + +@pytest.mark.skip(reason='test broken, fails when run in isolation') def test_update_lambda_if_only_one_config_item_changed(monkeypatch): fake_lambda_connection = MagicMock() @@ -175,6 +177,8 @@ def test_update_lambda_if_only_one_config_item_changed(monkeypatch): assert(len(fake_lambda_connection.update_function_code.mock_calls) == 0), \ "updated lambda code when no change should have happened" + +@pytest.mark.skip(reason='test broken, fails when run in isolation') def test_dont_update_lambda_if_nothing_changed(monkeypatch): fake_lambda_connection = MagicMock()