Private GIT

Skip to content
Snippets Groups Projects
Commit ff9e378e authored by miigotu's avatar miigotu
Browse files

Merge pull request #2832 from fernandog/search_tests_fix

Lower words while comparing with title
parents a256db81 ce1a6fa7
No related branches found
No related tags found
No related merge requests found
......@@ -103,8 +103,8 @@ def test_generator(curData, name, provider, forceSearch):
title, url = provider._get_title_and_url(items[0])
for word in show.name.split(" "):
if not word in title:
print "Show name not in title: %s" % title
if not word.lower() in title.lower():
print "Show name not in title: %s. URL: %s" % (title, url)
continue
if not url:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment