def test_normalize_license(self, licenses, classifiers, expected_result): d = {'license': licenses, 'classifiers': classifiers} py2pack._normalize_license(d) self.assertEqual(d['license'], expected_result)
def test_normalize_license(self, value, expected_result): d = {'license': value} py2pack._normalize_license(d) self.assertEqual(d['license'], expected_result)
def test_normalize_license(self, value, expected_result): d = { 'license': value } py2pack._normalize_license(d) self.assertEqual(d['license'], expected_result)