diff --git a/tests/test_utils.py b/tests/test_utils.py index 2060c2c8..74a3c7ab 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -117,15 +117,15 @@ def test_get_license(self): ret = get_license('Mozilla Public License Version 1.1') self.assertEqual(ret, 'MPL-1.1') ret = get_license('Mozilla Public License') - self.assertEqual(ret, 'Mozilla Public License') + self.assertEqual(ret, 'Mozilla-Public-License') ret = get_license('BSD License 2.0') - self.assertEqual(ret, 'BSD License 2.0') + self.assertEqual(ret, 'BSD-License-2.0') ret = get_license('MIT') self.assertEqual(ret, 'MIT') ret = get_license('Creative Commons') - self.assertEqual(ret, 'Creative Commons') + self.assertEqual(ret, 'Creative-Commons') ret = get_license('United States Government Purpose') - self.assertEqual(ret, 'United States Government Purpose') + self.assertEqual(ret, 'United-States-Government-Purpose') def test_delta_msg(self): """Test the delta message generated for the PR"""