Skip to content

Commit 2ef2f7d

Browse files
committed
Rename tests and rm test type annotations
1 parent da2a21e commit 2ef2f7d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/integrations/unleash/test_unleash_get_variant_method.py renamed to tests/integrations/unleash/test_unleash_get_variant.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pytest
2-
from typing import Any
32
from unittest.mock import Mock
43

54
import sentry_sdk
@@ -34,7 +33,7 @@ def mock_unleash_client():
3433

3534
disabled_variant = {"name": "disabled", "enabled": False}
3635

37-
def get_variant(feature: str, *a, **kw) -> dict[str, Any]:
36+
def get_variant(feature, *a, **kw):
3837
return feature_to_variant.get(feature, disabled_variant)
3938

4039
client = Mock()

tests/integrations/unleash/test_unleash_is_enabled_method.py renamed to tests/integrations/unleash/test_unleash_is_enabled.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def mock_unleash_client():
1212
"world": False,
1313
}
1414

15-
def is_enabled(feature: str, *a, **kw) -> bool:
15+
def is_enabled(feature, *a, **kw):
1616
return features.get(feature, False)
1717

1818
client = Mock()

0 commit comments

Comments
 (0)