mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 06:22:57 +08:00
asserted that links is a list of links
This commit is contained in:
parent
a2a2e197ec
commit
e5eaa28acd
1 changed files with 1 additions and 3 deletions
|
@ -10,9 +10,7 @@ def test_get_links(self):
|
|||
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()
|
||||
|
|
Loading…
Reference in a new issue