File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments