From 0d455037a2acd4f42ddbc862bfa3a15ed5a1b6f1 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 24 Feb 2017 13:15:51 -0800 Subject: [PATCH] Disable broken tests. --- test/units/modules/cloud/amazon/test_lambda.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/units/modules/cloud/amazon/test_lambda.py b/test/units/modules/cloud/amazon/test_lambda.py index 594b5fc6ba5..3d30ddac5eb 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()