예제 #1
0
 def test_from_full_name(self):
     mit = License.from_full_name('MIT License')
     assert mit.identifier == 'MIT'
     assert mit.url == 'http://spdx.org/licenses/MIT'
예제 #2
0
 def test_from_full_name(self):
     mit = License.from_full_name('MIT License')
     assert mit.identifier == 'MIT'
     assert mit.url == 'http://spdx.org/licenses/MIT'