Opened 15 years ago

Closed 15 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: dev
Severity: Keywords: tests
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 15 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by jbronn, 15 years ago

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