Skip to content

Commit f49d8b8

Browse files
authored
.
1 parent 7a7288b commit f49d8b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_django/fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,15 +755,15 @@ def django_assert_max_num_queries(pytestconfig: pytest.Config) -> DjangoAssertNu
755755

756756
@pytest.fixture(scope="function")
757757
def django_assert_num_queries_all_connections(
758-
pytestconfig: pytest.Config
758+
pytestconfig: pytest.Config,
759759
) -> DjangoAssertNumAllConnectionsQueries:
760760
"""Asserts that the number of queries executed by Django ORM across all connections in settings.DATABASES is equal to the given number."""
761761
return partial(_assert_num_queries_all_db, pytestconfig)
762762

763763

764764
@pytest.fixture(scope="function")
765765
def django_assert_max_num_queries_all_connections(
766-
pytestconfig: pytest.Config
766+
pytestconfig: pytest.Config,
767767
) -> DjangoAssertNumAllConnectionsQueries:
768768
"""Asserts that the number of queries executed by Django ORM across all connections in settings.DATABASES is less than or equal to the given number."""
769769
return partial(_assert_num_queries_all_db, pytestconfig, exact=False)

0 commit comments

Comments
 (0)