Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Dec 8, 2021
1 parent e82f17c commit eb83ade
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/unit_tests/feature_flag_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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,
}

0 comments on commit eb83ade

Please sign in to comment.