Opened 8 years ago

Closed 8 years ago

#10791 closed (fixed)

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

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

Description

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 Sean Legassick 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Sean Legassick

comment:1 Changed 8 years ago by jbronn

Resolution: fixed
Status: newclosed

(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