[balrog] Fix up xml deprecation warning in tests

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
3 months ago

People

(Reporter: nthomas, Assigned: nthomas)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [balrog])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Several copies of:
/Users/nthomas/source/github/mozilla/balrog/auslib/test/admin/views/test_index.py:62: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  for tr in tbody.getchildren():
/Users/nthomas/source/github/mozilla/balrog/auslib/test/admin/views/test_index.py:64: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  for td in tr.getchildren():
(Assignee)

Comment 1

6 years ago
Created attachment 725212 [details] [diff] [review]
Teeny weeny patch
Attachment #725212 - Flags: review?(bhearsum)
(Assignee)

Comment 2

6 years ago
I get that warning running on Apple's Python 2.7.2 from OS X 10.8.1.
Comment on attachment 725212 [details] [diff] [review]
Teeny weeny patch

Review of attachment 725212 [details] [diff] [review]:
-----------------------------------------------------------------

I think I've seen these warnings too...
Attachment #725212 - Flags: review?(bhearsum) → review+

Comment 4

6 years ago
Commit pushed to master at https://github.com/mozilla/balrog

https://github.com/mozilla/balrog/commit/f7eeac384cdb7762489eb795732f355cd70ee487
Bug 851385, Fix up xml deprecation warning in tests, r=bhearsum
(Assignee)

Comment 6

6 years ago
Green on Jenkins: https://jenkins.mozilla.org/job/Balrog/148/
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
Product: Release Engineering → Release Engineering
You need to log in before you can comment on or make changes to this bug.