aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/test_github.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-31 10:30:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-31 10:30:53 +0300
commitf75fee2cd48b1948b23d7959e965192c19dcc685 (patch)
tree24367b5b84a03ded203661263bdc14eb6a467282 /test/test_github.py
parentsort requirements.txt (diff)
downloadcgitize-f75fee2cd48b1948b23d7959e965192c19dcc685.tar.gz
cgitize-f75fee2cd48b1948b23d7959e965192c19dcc685.zip
test: add homepage URL tests
Diffstat (limited to 'test/test_github.py')
-rw-r--r--test/test_github.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_github.py b/test/test_github.py
index ab96ecc..be1daf6 100644
--- a/test/test_github.py
+++ b/test/test_github.py
@@ -20,7 +20,8 @@ class GitHubTests(unittest.TestCase):
r = self.github.get_repo('egor-tensin/cgitize-test-repository')
self.assertEqual(r.name, 'cgitize-test-repository')
self.assertEqual(r.description, 'Test cgitize repository')
- self.assertEqual(r.clone_url, 'https://github.com/egor-tensin/cgitize-test-repository.git')
- self.assertEqual(r.ssh_url, 'git@github.com:egor-tensin/cgitize-test-repository.git')
self.assertEqual(r.owner.name, 'Egor Tensin')
self.assertEqual(r.owner.login, 'egor-tensin')
+ self.assertEqual(r.html_url, 'https://github.com/egor-tensin/cgitize-test-repository')
+ self.assertEqual(r.clone_url, 'https://github.com/egor-tensin/cgitize-test-repository.git')
+ self.assertEqual(r.ssh_url, 'git@github.com:egor-tensin/cgitize-test-repository.git')