Fix delete method for RepositoryKey

This commit is contained in:
Wan Liuyang
2018-04-05 10:25:04 +08:00
parent 722f253429
commit 911bf61522
3 changed files with 6 additions and 14 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class RepositoryKey(Framework.TestCase):
self.assertTrue(self.key.verified)
# test __repr__() based on this attributes
self.assertEqual(self.key.__repr__(), 'RepositoryKey(id=21870881)')
self.assertEqual(self.key.__repr__(), 'RepositoryKey(title="PyGithub Test Key", id=21870881)')
def testDelete(self):
self.key.delete()