Code

Opened 5 years ago

Closed 5 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:

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 seanl 5 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 5 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.