Opened 13 years ago

Closed 13 years ago

#17477 closed Bug (fixed)

Problem with ./manage.py help test

Reported by: shige.abe@… Owned by: nobody
Component: Testing framework Version: 1.4-alpha-1
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In 1.4 alpha:

-> % ./manage.py help test
Traceback (most recent call last):

File "./manage.py", line 11, in <module>

execute_manager(settings)

File "/home/django/.virtualenvs/astrobiology-alpha/src/django/django/core/management/init.py", line 436, in execute_manager

utility.execute()

File "/home/django/.virtualenvs/astrobiology-alpha/src/django/django/core/management/init.py", line 345, in execute

self.fetch_command(args[2]).print_help(self.prog_name, args[2])

File "/home/django/.virtualenvs/astrobiology-alpha/src/django/django/core/management/base.py", line 184, in print_help

parser = self.create_parser(prog_name, subcommand)

File "/home/django/.virtualenvs/astrobiology-alpha/src/django/django/core/management/commands/test.py", line 49, in create_parser

test_runner_class = get_runner(settings, self.test_runner)

AttributeError: 'Command' object has no attribute 'test_runner'

Change History (2)

comment:1 by Ramiro Morales, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Ramiro Morales, 13 years ago

Resolution: fixed
Status: newclosed

In [17284]:

Made sure manage.py help test works.

Thanks shige DOT abe AT nasa DOT gov for the report.

Fixes #17477. Refs r16352.

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