def test_remove_webpack_suffixes_when_no_extension(self):
     normalized = remove_webpack_suffixes('data/some_file')
     self.assertEqual('data/some_file', normalized)
 def test_remove_webpack_suffixes_when_favicon(self):
     normalized = remove_webpack_suffixes('favicon.123.ico')
     self.assertEqual('favicon.123.ico', normalized)
 def test_remove_webpack_suffixes_when_no_suffixes(self):
     normalized = remove_webpack_suffixes('css/chunk-login-vendors.css')
     self.assertEqual('css/chunk-login-vendors.css', normalized)
 def test_remove_webpack_suffixes_when_js_map(self):
     normalized = remove_webpack_suffixes('js/login.be16f278.js.map')
     self.assertEqual('js/login.js.map', normalized)