diff --git a/tests/sample_data/pulse_consumer/github_push_commits.json b/tests/sample_data/pulse_consumer/github_push_commits.json index 67a0f066ffe..d4d5d63a777 100644 --- a/tests/sample_data/pulse_consumer/github_push_commits.json +++ b/tests/sample_data/pulse_consumer/github_push_commits.json @@ -73,8 +73,8 @@ "sha": "ef46fa00eb0919e92f11ffdfe6a6926541ab409c", "commit": { "author": { - "name": "Roy C", - "email": "crosscent@gmail.com", + "name": "Fausto Núñez Alberro", + "email": "fausto.nunez@outlook.com", "date": "2016-07-28T16:59:27Z" }, "committer": { diff --git a/tests/sample_data/pulse_consumer/transformed_gh_push.json b/tests/sample_data/pulse_consumer/transformed_gh_push.json index 779ec3cb2c9..fe6c462766b 100644 --- a/tests/sample_data/pulse_consumer/transformed_gh_push.json +++ b/tests/sample_data/pulse_consumer/transformed_gh_push.json @@ -5,7 +5,7 @@ {"author": "KWierso ", "comment": "Bug 1287911 - Add the ability to tag revisions with metadata (#1706) r=camd\n\n* Bug 1287911 - Add the ability to tag revisions with metadata\r\n\r\n* Bug 1287911 - Make backout commit text be red in the list of revisions", "revision": "09ef55394535acd453eb7728ef8981a96aa0aef6"}, - {"author": "Roy C ", + {"author": "Fausto Núñez Alberro ", "comment": "Bug 1288530 - Update classifier unconditionally, and move classifier tooltip in AlertView (#1742)", "revision": "ef46fa00eb0919e92f11ffdfe6a6926541ab409c"}, {"author": "KWierso ", diff --git a/treeherder/etl/resultset_loader.py b/treeherder/etl/resultset_loader.py index 1773978d938..08beb7fcd2c 100644 --- a/treeherder/etl/resultset_loader.py +++ b/treeherder/etl/resultset_loader.py @@ -104,7 +104,7 @@ def fetch_resultset(self, url, repository, sha=None): for commit in commits: revisions.append({ "comment": commit["commit"]["message"], - "author": "{} <{}>".format( + "author": u"{} <{}>".format( commit["commit"]["author"]["name"], commit["commit"]["author"]["email"]), "revision": commit["sha"]