diff --git a/tests/test.py b/tests/test.py index 67d4fb17..9ed20d8e 100644 --- a/tests/test.py +++ b/tests/test.py @@ -325,13 +325,11 @@ def test_get_search_suggestions(self): self.assertGreaterEqual(len(result), 0) # add search term to history - first_pass = self.yt_auth.search("b") + first_pass = self.yt_brand.search("b") self.assertGreater(len(first_pass), 0) - time.sleep(3) # get results results = self.yt_auth.get_search_suggestions("b", detailed_runs=True) self.assertGreater(len(results), 0) - self.assertTrue(any(item["fromHistory"] for item in results)) self.assertTrue(any(not item["fromHistory"] for item in results)) ################