aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-16 14:04:29 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-16 14:04:29 +0200
commite0a59fd960b4fc2ba6b8dfbdff9683c78eacfb27 (patch)
treea34948419c325916e82428b9056a25a24aa0d34f /pygithub3/tests
parentMerge #12 'services/issues' (diff)
downloadpython-github3-e0a59fd960b4fc2ba6b8dfbdff9683c78eacfb27.tar.xz
python-github3-e0a59fd960b4fc2ba6b8dfbdff9683c78eacfb27.zip
Update readme and authors
Also some PEP8
Diffstat (limited to 'pygithub3/tests')
-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):