'Test search'

def test_search(self):

    test_cases = {None: [], 123: [], 12.3: [], (-123): [], (-12.3): [], u'': [], u'123': [], u'12.3': [], u'-123': [], u'-12.3': []}
    unicode_test_cases = {u'': [], u'123': [], u'12.3': [], u'-123': [], u'-12.3': []}
    for test in (test_cases, unicode_test_cases):
        for (search_params, result) in six.iteritems(test):
            self.assertEqual(GenericProvider(u'Test    Provider').search(search_params), result)
