From e5eaa28acd372bfd8352b71822efa5a66848d2a1 Mon Sep 17 00:00:00 2001 From: csparks Date: Sat, 7 Sep 2019 23:50:53 +0000 Subject: [PATCH] asserted that links is a list of links --- tests/discovery/test_linkedin_links.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/discovery/test_linkedin_links.py b/tests/discovery/test_linkedin_links.py index 2dc6f3dc..9ff04f67 100644 --- a/tests/discovery/test_linkedin_links.py +++ b/tests/discovery/test_linkedin_links.py @@ -10,9 +10,7 @@ class TestGetLinks(object): search = linkedinsearch.SearchLinkedin("facebook.com", '100') search.process() links = search.get_links() - for link in links: - print(link) - + assert list(links) if __name__ == '__main__': pytest.main()