def test_remove_version_from_href_4(self):
     fixture = 'http://www.testsite.com/v1.1/images/v10.5'
     expected = 'http://www.testsite.com/images/v10.5'
     actual = common.remove_version_from_href(fixture)
     self.assertEqual(actual, expected)
Exemple #2
0
 def test_remove_version_from_href_4(self):
     fixture = 'http://www.testsite.com/v1.1/images/v10.5'
     expected = 'http://www.testsite.com/images/v10.5'
     actual = common.remove_version_from_href(fixture)
     self.assertEqual(actual, expected)