[googlesearch] Move test to extractor
This commit is contained in:
parent
1dd70fe330
commit
829476b80a
3 changed files with 13 additions and 9 deletions
|
@ -142,6 +142,11 @@ def generator(test_case):
|
|||
'Expected at least %d in playlist %s, but got only %d' % (
|
||||
test_case['playlist_mincount'], test_case['url'],
|
||||
len(res_dict['entries'])))
|
||||
if 'playlist_count' in test_case:
|
||||
self.assertEqual(
|
||||
len(res_dict['entries']),
|
||||
test_case['playlist_count'],
|
||||
'Expected at %d in playlist %s, but got %d.')
|
||||
|
||||
for tc in test_cases:
|
||||
tc_filename = get_tc_filename(tc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue