Skip to content

Commit 6f04c0c

Browse files
committed
Add missing reset_sequences argument to django_db marker docstring
1 parent af7ae0d commit 6f04c0c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pytest_django/plugin.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,12 @@ def pytest_load_initial_conftests(
262262
# Register the marks
263263
early_config.addinivalue_line(
264264
"markers",
265-
"django_db(transaction=False): Mark the test as using "
266-
"the Django test database. The *transaction* argument marks will "
267-
"allow you to use real transactions in the test like Django's "
268-
"TransactionTestCase.",
265+
"django_db(transaction=False, reset_sequences=False): "
266+
"Mark the test as using the Django test database. "
267+
"The *transaction* argument allows you to use real transactions "
268+
"in the test like Django's TransactionTestCase. ",
269+
"The *reset_sequences* argument resets database sequences before "
270+
"the test."
269271
)
270272
early_config.addinivalue_line(
271273
"markers",

0 commit comments

Comments
 (0)