Opened 8 years ago

Closed 8 years ago

#5058 closed (worksforme)

Fail to run runtest on windows (rev:5783)

Reported by: mamcx Owned by: adrian
Component: Testing framework Version: master
Severity: Keywords: test
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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)

SimpleFixRunTestFailure.diff (531 bytes) - added by mamcx <mamcx@…> 8 years ago.
Simple fix for this issue

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by mamcx <mamcx@…>

Simple fix for this issue

comment:1 Changed 8 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

runtests.py works fine for me.

Note: See TracTickets for help on using tickets.
Back to Top