Title: [253230] trunk/Tools
Revision
253230
Author
[email protected]
Date
2019-12-06 16:11:47 -0800 (Fri, 06 Dec 2019)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (253229 => 253230)


--- trunk/Tools/ChangeLog	2019-12-07 00:04:45 UTC (rev 253229)
+++ trunk/Tools/ChangeLog	2019-12-07 00:11:47 UTC (rev 253230)
@@ -1,5 +1,14 @@
 2019-12-06  Jonathan Bedard  <[email protected]>
 
+        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  <[email protected]>
+
         Python 3: Add support in webkitpy.tool (Follow-up, part 1)
         https://bugs.webkit.org/show_bug.cgi?id=204838
 

Modified: trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py (253229 => 253230)


--- trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py	2019-12-07 00:04:45 UTC (rev 253229)
+++ trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py	2019-12-07 00:11:47 UTC (rev 253230)
@@ -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)
 
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to