'Testing whether the right results are returned when searching in the local database for channels'

def test_search_local_channels(self):

    results = self.cdb.search_in_local_channels_db('fancy')
    self.assertEqual(len(results), 2)
    self.assertNotEqual(results[0][(-1)], 0.0)
    results = self.cdb.search_in_local_channels_db('fdajlkerhui')
    self.assertEqual(len(results), 0)
