aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests/services/test_issues.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/tests/services/test_issues.py')
-rw-r--r--pygithub3/tests/services/test_issues.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pygithub3/tests/services/test_issues.py b/pygithub3/tests/services/test_issues.py
index 2d42405..8d34b71 100644
--- a/pygithub3/tests/services/test_issues.py
+++ b/pygithub3/tests/services/test_issues.py
@@ -137,7 +137,7 @@ class TestLabelsService(TestCase):
request_method.return_value = mock_response('post')
# invalid color
with self.assertRaises(ValidationError):
- args={'name': 'bug', 'color': 'FF00'}
+ args = {'name': 'bug', 'color': 'FF00'}
self.lb.create(args)
def test_UPDATE(self, request_method):
@@ -150,8 +150,7 @@ class TestLabelsService(TestCase):
request_method.return_value = mock_response('post')
# invalid color
with self.assertRaises(ValidationError):
- args={'name': 'critical',
- 'color': 'FF00',}
+ args = {'name': 'critical', 'color': 'FF00'}
self.lb.update('bug', args)
def test_DELETE(self, request_method):