@@ -8,7 +8,7 @@ class TestPublish:
88 @patch ("gease.contributors.Api.get_public_api" )
99 def test_all_contributors (self , fake_api ):
1010 sample_reply = [
11- {"login" : "howdy" , "url" : "https://api.github.com/users/howdy" , }
11+ {"login" : "howdy" , "url" : "https://api.github.com/users/howdy" }
1212 ]
1313 fake_api .return_value = MagicMock (
1414 get = MagicMock (side_effect = [sample_reply , {"name" : "hello world" }])
@@ -30,7 +30,7 @@ def test_all_contributors(self, fake_api):
3030 @patch ("gease.contributors.Api.get_public_api" )
3131 def test_no_names (self , fake_api ):
3232 sample_reply = [
33- {"login" : "howdy" , "url" : "https://api.github.com/users/howdy" , }
33+ {"login" : "howdy" , "url" : "https://api.github.com/users/howdy" }
3434 ]
3535 fake_api .return_value = MagicMock (
3636 get = MagicMock (side_effect = [sample_reply , {"name" : None }])
@@ -41,5 +41,5 @@ def test_no_names(self, fake_api):
4141
4242 eq_ (
4343 contributors ,
44- [{"name" : "howdy" , "url" : "https://api.github.com/users/howdy" , }],
44+ [{"name" : "howdy" , "url" : "https://api.github.com/users/howdy" }],
4545 )
0 commit comments