Implement License API (#734)

* Implement License API

* Update copyright
This commit is contained in:
Wan Liuyang
2018-04-06 09:17:19 +08:00
committed by GitHub
parent 911bf61522
commit b54ccc784e
12 changed files with 315 additions and 0 deletions
+3
View File
@@ -718,6 +718,9 @@ class Repository(Framework.TestCase):
self.assertEqual(stats.get(4, 12), 7)
self.assertEqual(stats.get(6, 18), 2)
def testGetLicense(self):
self.assertEqual(len(self.repo.get_license().content), 47646)
class LazyRepository(Framework.TestCase):