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'