def test_invalid_get_filetype_handler(self): '''Test Indexer.get_filetype_handler with an invalid filetype.''' indexer = Indexer() self.assertEquals(indexer.get_filetype_handler('aeiou'), None)
def test_invalid_get_filetype_handler(self): '''Test Indexer.get_filetype_handler with an invalid filetype.''' indexer = Indexer() self.assertEquals(indexer.get_filetype_handler('aeiou'), None)
def test_valid_get_filetype_handler(self): '''Test Indexer.get_filetype_handler with a valid filetype.''' indexer = Indexer() self.assertTrue(type(indexer.get_filetype_handler('avi')), AviHandler)
def test_valid_get_filetype_handler(self): '''Test Indexer.get_filetype_handler with a valid filetype.''' indexer = Indexer() self.assertTrue(type(indexer.get_filetype_handler('avi')), AviHandler)