Opened 17 years ago
Closed 17 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)
Change History (2)
by , 17 years ago
| Attachment: | 10791-django-gis-test-runner-respect-interactive.diff added |
|---|
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [10601]) Fixed #10791 -- The GeoDjango test runner now respects the
--noinputcommand-line option, thanks to seanl for ticket & patch; replaced docstring with URL to latest documentation.