Opened 17 years ago
Closed 17 years ago
#5058 closed (worksforme)
Fail to run runtest on windows (rev:5783)
Reported by: | mamcx | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | test | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I create a seetings.py in the same directory of runtest.
I run:
runtests.py --settings settings
This error appear:
E:\Proyectos\Python\mysite\django\tests>python runtests.py --settings settings Traceback (most recent call last): File "runtests.py", line 161, in ? django_tests(int(options.verbosity), options.interactive, args) File "runtests.py", line 132, in django_tests failures = run_tests(test_labels, verbosity=verbosity, interactive=interacti ve, extra_tests=extra_tests) TypeError: run_tests() got an unexpected keyword argument 'interactive'
The solution is erase the interactive param. However
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | SimpleFixRunTestFailure.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
runtests.py works fine for me.
Note:
See TracTickets
for help on using tickets.
Simple fix for this issue