Code

Opened 3 years ago

Closed 3 years ago

#15892 closed Cleanup/optimization (fixed)

Duplicate 'settings' import in settings_tests/tests.py

Reported by: ShawnMilo Owned by: ShawnMilo
Component: Testing framework Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX:

Description

'settings' is imported from django.conf twice.

Attachments (1)

duplicate_settings_import.diff (391 bytes) - added by ShawnMilo 3 years ago.
One-line removal to fix duplicate import.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by ShawnMilo

One-line removal to fix duplicate import.

comment:1 Changed 3 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 3 years ago by ShawnMilo

  • Owner changed from nobody to ShawnMilo

comment:3 Changed 3 years ago by SmileyChris

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

In [16102]:

Fixes #15892 -- Duplicate 'settings' import (and some unused imports) in settings_tests. Thanks Shawn Milo.

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.