Skip to content

Commit efd8a29

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 99b35dc commit efd8a29

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ def api_client() -> APIClient:
555555
def feature(project: Project) -> Feature:
556556
return Feature.objects.create(name="Test Feature1", project=project) # type: ignore[no-any-return]
557557

558+
558559
@pytest.fixture()
559560
def feauture_with_dots(project: Project) -> Feature:
560561
return Feature.objects.create(name="feature.name", project=project) # type: ignore[no-any-return]

api/tests/unit/app_analytics/test_unit_app_analytics_views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_sdk_analytics_ignores_bad_data(
5858
labels={},
5959
)
6060

61+
6162
def test_sdk_analytics_ignores_feature_data_with_dots(
6263
mocker: MockerFixture,
6364
environment: Environment,
@@ -67,7 +68,7 @@ def test_sdk_analytics_ignores_feature_data_with_dots(
6768
# Given
6869
api_client.credentials(HTTP_X_ENVIRONMENT_KEY=environment.api_key)
6970

70-
data = { feauture_with_dots.name: 20 }
71+
data = {feauture_with_dots.name: 20}
7172
mocked_feature_eval_cache = mocker.patch(
7273
"app_analytics.views.feature_evaluation_cache"
7374
)

0 commit comments

Comments
 (0)