Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 2, 2024
1 parent 11c28ab commit 0132aab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/unit/api/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class test_disabling_cluster:
def celery_backend_cluster(self) -> CeleryBackendCluster:
return None

def test_disabling_backend_cluster(self, cluster: CeleryBackendCluster, celery_backend_cluster_config: dict, request):
def test_disabling_backend_cluster(
self, cluster: CeleryBackendCluster, celery_backend_cluster_config: dict, request
):
cluster = request.getfixturevalue(cluster)
assert cluster is None
assert celery_backend_cluster_config is None
4 changes: 3 additions & 1 deletion tests/unit/api/test_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class test_disabling_cluster:
def celery_broker_cluster(self) -> CeleryBrokerCluster:
return None

def test_disabling_broker_cluster(self, cluster: CeleryBrokerCluster, celery_broker_cluster_config: dict, request):
def test_disabling_broker_cluster(
self, cluster: CeleryBrokerCluster, celery_broker_cluster_config: dict, request
):
cluster = request.getfixturevalue(cluster)
assert cluster is None
assert celery_broker_cluster_config is None

0 comments on commit 0132aab

Please sign in to comment.