Esempio n. 1
0
 def test_application_x(self):
     self.assertEqual(guess_file_icon('tagada.flac'), 'music')
Esempio n. 2
0
 def test_common_extensions(self):
     self.assertEqual(guess_file_icon('tagada.avi'), 'film')
     self.assertEqual(guess_file_icon('tagada.mkv'), 'film')
     self.assertEqual(guess_file_icon('tagada.mp3'), 'music')
Esempio n. 3
0
 def test_uppercase(self):
     self.assertEqual(guess_file_icon('tagada.MP3'), 'music')