Closed
Bug 756445
Opened 12 years ago
Closed 12 years ago
redefinition of test method in test_AUS.py
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: nthomas)
References
Details
Attachments
(1 file)
2.20 KB,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
I was running Balrog through pyflakes this afternoon and it said this:
auslib/test/test_AUS.py:123: redefinition of function 'testSpecialQueryParamForced' from line 107
And indeed, we have two methods named the same in that class:
https://github.com/mozilla/balrog/blob/master/auslib/test/test_AUS.py#L107
https://github.com/mozilla/balrog/blob/master/auslib/test/test_AUS.py#L123
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → nrthomas
Priority: -- → P2
Assignee | ||
Comment 1•12 years ago
|
||
Looks like a copy-and-paste-o for the forcing test for a non-bouncer download site.
The other change here is to resolve this message while running tests:
.../balrog/auslib/web/views/forms.py:31: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.process_errors.append(e.message)
I picked up usage in wtforms/fields.py where it's also catching ValueError.
Attachment #625865 -
Flags: review?(bhearsum)
Assignee | ||
Comment 2•12 years ago
|
||
... and all the tests PASS afterwards, but that's otherwise untested.
Reporter | ||
Updated•12 years ago
|
Attachment #625865 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 625865 [details] [diff] [review]
Fix tests
https://github.com/mozilla/balrog/commit/978296577ee06e4b18891a9c7c7321d20026ff8e
Attachment #625865 -
Flags: checked-in+
Assignee | ||
Comment 4•12 years ago
|
||
Green Jenkins run:
https://jenkins.mozilla.org/job/Balrog/89/
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•