Beispiel #1
0
 def test_strips_fingerprint(self):
     path = 'source.38976434f000bf447d2dc6980894986aaf4e82d0.js'
     self.assertEqual(strip_fingerprint(path), 'source.js')
Beispiel #2
0
 def test_skips_paths_without_fingerprint(self):
     self.assertEqual(strip_fingerprint('source.js'), 'source.js')
Beispiel #3
0
 def test_skips_paths_without_fingerprint(self):
     self.assertEqual(strip_fingerprint('source.js'), 'source.js')
Beispiel #4
0
 def test_strips_fingerprint(self):
     path = 'source.38976434f000bf447d2dc6980894986aaf4e82d0.js'
     self.assertEqual(strip_fingerprint(path), 'source.js')