From eb83ade8374aa98fed96d97d1b39036da379424a Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Wed, 8 Dec 2021 11:34:57 -0800 Subject: [PATCH] Fix test --- tests/unit_tests/feature_flag_test.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/unit_tests/feature_flag_test.py b/tests/unit_tests/feature_flag_test.py index 14366cfd8ece1..43d142e7f67d3 100644 --- a/tests/unit_tests/feature_flag_test.py +++ b/tests/unit_tests/feature_flag_test.py @@ -16,7 +16,7 @@ # under the License. from pytest_mock import MockFixture -from superset import get_feature_flags, is_feature_enabled +from superset import is_feature_enabled def dummy_is_feature_enabled(feature_flag_name: str, default: bool = True) -> bool: @@ -63,9 +63,3 @@ def test_is_feature_enabled(mocker: MockFixture) -> None: assert is_feature_enabled("True_Flag2") is True assert is_feature_enabled("Flag3") is False assert is_feature_enabled("Flag4") is True - assert get_feature_flags() == { - "True_Flag1": True, - "True_Flag2": True, - "Flag3": False, - "Flag4": True, - }