Exemplo n.º 1
0
 def test_find_series_with_languages(self, mocked_expired, execute_task):
     assert find_series_id('Tegenlicht', 'nl') == 252712
     assert find_series_id('החממה', 'he') == 270698
Exemplo n.º 2
0
 def test_find_series_with_languages(self, mocked_expired, execute_task):
     assert find_series_id('Tegenlicht', 'nl') == 252712
     assert find_series_id('החממה', 'he') == 270698
Exemplo n.º 3
0
 def test_find_series_id(self, mocked_expired, execute_task):
     # Test the best match logic
     assert find_series_id('Once Upon A Time') == 248835
     assert find_series_id('Once Upon A Time 2011') == 248835
     assert find_series_id('House M.D.') == 73255
     assert find_series_id('House') == 73255
Exemplo n.º 4
0
 def test_find_series_id(self, mocked_expired, execute_task):
     # Test the best match logic
     assert find_series_id('Once Upon A Time') == 248835
     assert find_series_id('Once Upon A Time 2011') == 248835
     assert find_series_id('House M.D.') == 73255
     assert find_series_id('House') == 73255