#12619 closed (fixed)
django-admin's testserver doesn't support --noinput
| Reported by: | Wil Clouser | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I'm trying to run the testserver in a script without user input, but apparently --noinput isn't supported for the testserver subcommand.
Steps to reproduce:
django-admin.py testserver --noinput
Actual Results:
/django-admin.py: error: no such option: --noinput
Expected Results:
Run the testserver with reasonable default answers to questions.
Attachments (1)
Change History (6)
comment:1 by , 16 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
by , 15 years ago
| Attachment: | testserver_noinput.patch added |
|---|
adds --noinput option to testserver command and updates docs
comment:3 by , 15 years ago
| Has patch: | set |
|---|---|
| milestone: | → 1.3 |
| Triage Stage: | Accepted → Ready for checkin |
Patch looks good; we can apply this once the 1.3 branch opens for development.
comment:4 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Is there a work-around for this? I can't figure out how to implement automated testing with selenium without this option.