From 9795c20a738c4e1da2fbeffc0f8c6204bbe74300 Mon Sep 17 00:00:00 2001 From: Camelid Date: Sun, 6 Dec 2020 13:41:14 -0800 Subject: [PATCH] Fix tests --- highfive/tests/test_integration_tests.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/highfive/tests/test_integration_tests.py b/highfive/tests/test_integration_tests.py index 072b7418..df6d8750 100644 --- a/highfive/tests/test_integration_tests.py +++ b/highfive/tests/test_integration_tests.py @@ -88,7 +88,7 @@ def test_new_pr_non_contributor(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '7'), - {'assignee': 'nrc'} + {'assignees': ['nrc']} ), {'body': {}}, ), @@ -130,7 +130,7 @@ def test_new_pr_empty_body(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '7'), - {'assignee': 'nrc'} + {'assignees': ['nrc']} ), {'body': {}}, ), @@ -171,7 +171,7 @@ def test_new_pr_contributor(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '7'), - {'assignee': 'nrc'} + {'assignees': ['nrc']} ), {'body': {}}, ), @@ -215,7 +215,7 @@ def test_new_pr_contributor_with_labels(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '7'), - {'assignee': 'nrc'} + {'assignees': ['nrc']} ), {'body': {}}, ), @@ -266,7 +266,7 @@ def test_author_is_commenter(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '1'), - {'assignee': 'davidalber'} + {'assignees': ['davidalber']} ), {'body': {}}, ), @@ -293,7 +293,7 @@ def test_author_not_commenter_is_collaborator(self): ( ( 'PATCH', newpr.issue_url % ('rust-lang', 'rust', '1'), - {'assignee': 'davidalber'} + {'assignees': ['davidalber']} ), {'body': {}}, ),