Code

Opened 2 years ago

Closed 2 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'

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 2 years ago by ramiro

  • Resolution set to fixed
  • Status changed from new to closed

In [17284]:

Made sure manage.py help test works.

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

Fixes #17477. Refs r16352.

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.