Exemple #1
0
 def test_normalize_license(self, licenses, classifiers, expected_result):
     d = {'license': licenses, 'classifiers': classifiers}
     py2pack._normalize_license(d)
     self.assertEqual(d['license'], expected_result)
Exemple #2
0
 def test_normalize_license(self, licenses, classifiers, expected_result):
     d = {'license': licenses, 'classifiers': classifiers}
     py2pack._normalize_license(d)
     self.assertEqual(d['license'], expected_result)
Exemple #3
0
 def test_normalize_license(self, value, expected_result):
     d = {'license': value}
     py2pack._normalize_license(d)
     self.assertEqual(d['license'], expected_result)
Exemple #4
0
 def test_normalize_license(self, value, expected_result):
     d = { 'license': value }
     py2pack._normalize_license(d)
     self.assertEqual(d['license'], expected_result)