Python 3: Add support in webkitpy.tool (Follow-up, part 2)
https://bugs.webkit.org/show_bug.cgi?id=204838
Unreviewed follow-up fix.
* Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@253230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index be92c0c..0e30081 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,5 +1,14 @@
2019-12-06 Jonathan Bedard <jbedard@apple.com>
+ Python 3: Add support in webkitpy.tool (Follow-up, part 2)
+ https://bugs.webkit.org/show_bug.cgi?id=204838
+
+ Unreviewed follow-up fix.
+
+ * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
+
+2019-12-06 Jonathan Bedard <jbedard@apple.com>
+
Python 3: Add support in webkitpy.tool (Follow-up, part 1)
https://bugs.webkit.org/show_bug.cgi?id=204838
diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py b/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py
index 8033cbc..c674f2c 100644
--- a/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py
+++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py
@@ -363,13 +363,13 @@
def test__parse_attachment_id_from_add_patch_to_bug_response(self):
bugzilla = Bugzilla()
- title_html = '<title>Attachment 317591 added to Bug 175247</title>'
- self.assertEqual(bugzilla._parse_attachment_id_from_add_patch_to_bug_response(title_html), '317591')
+ title_html = b'<title>Attachment 317591 added to Bug 175247</title>'
+ self.assertEqual(bugzilla._parse_attachment_id_from_add_patch_to_bug_response(title_html), b'317591')
- title_html = '<title>Attachment 317591; malformed</title>'
+ title_html = b'<title>Attachment 317591; malformed</title>'
self.assertEqual(bugzilla._parse_attachment_id_from_add_patch_to_bug_response(title_html), None)
- title_html = '<title>Attachment A added to Bug 175247</title>'
+ title_html = b'<title>Attachment A added to Bug 175247</title>'
self.assertEqual(bugzilla._parse_attachment_id_from_add_patch_to_bug_response(title_html), None)