'Check that the provider returns results in proper format'

def test_result_values(self):

    results = self.provider.search(self.search_strings(u'Episode'))
    for result in results:
        self.assertIsInstance(result, dict)
        self.assertEqual(sorted(result.keys()), [u'hash', u'leechers', u'link', u'seeders', u'size', u'title'])
        self.assertIsInstance(result['title'], six.text_type)
        self.assertIsInstance(result['link'], six.text_type)
        self.assertIsInstance(result['hash'], six.string_types)
        self.assertIsInstance(result['seeders'], six.integer_types)
        self.assertIsInstance(result['leechers'], six.integer_types)
        self.assertIsInstance(result['size'], six.integer_types)
        self.assertTrue(len(result['title']))
        self.assertTrue(len(result['link']))
        self.assertTrue((len(result['hash']) in (0, 32, 40)))
        self.assertTrue((result['seeders'] >= 0))
        self.assertTrue((result['leechers'] >= 0))
        self.assertTrue((result['size'] >= (-1)))
        if result['link'].startswith(u'magnet'):
            self.assertTrue(magnet_regex.match(result['link']))
        else:
            self.assertTrue(validators.url(result['link'], require_tld=False))
        self.assertIsInstance(self.provider._get_size(result), six.integer_types)
        self.assertTrue(all(self.provider._get_title_and_url(result)))
        self.assertTrue(self.provider._get_size(result))
    @unittest.skip(u'Not    yet    implemented')
    def test_season_search_strings_format(self):
        u"Check    format    of    the    provider's    season    search    strings"
        pass
    @unittest.skip(u'Not    yet    implemented')
    def test_episode_search_strings_format(self):
        u"Check    format    of    the    provider's    season    search    strings"
        pass
