Opened 7 years ago

Closed 7 years ago

#10791 closed (fixed)

gis test runner doesn't respect --noinput (which should result in test db being autoclobbered)

Reported by: seanl Owned by: nobody
Component: GIS Version: master
Severity: Keywords: tests
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


It can be useful when running tests from scripts to use the '--noinput' option to skip the interactive prompt to drop a previously leftover test db. The GIS test runner doesn't respect this option, and so the prompt is displayed anyway. The attached patch fixes this.

Attachments (1)

10791-django-gis-test-runner-respect-interactive.diff (623 bytes) - added by seanl 7 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 7 years ago by jbronn

  • Resolution set to fixed
  • Status changed from new to closed

(In [10601]) Fixed #10791 -- The GeoDjango test runner now respects the --noinput command-line option, thanks to seanl for ticket & patch; replaced docstring with URL to latest documentation.

Note: See TracTickets for help on using tickets.
Back to Top