Skip to content

Commit 29f7140

Browse files
committed
docs/faq: add missing add_arguments to ./manage.py test recipe
Fixes #837.
1 parent 0e74f03 commit 29f7140

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/faq.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ test runner like this:
8383
self.failfast = failfast
8484
self.keepdb = keepdb
8585
86+
@classmethod
87+
def add_arguments(cls, parser):
88+
parser.add_argument(
89+
'--keepdb', action='store_true',
90+
help='Preserves the test DB between runs.'
91+
)
92+
8693
def run_tests(self, test_labels):
8794
"""Run pytest and return the exitcode.
8895

0 commit comments

Comments
 (0)