mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 14:32:57 +08:00
pylint and pytest
This commit is contained in:
parent
703e9e16a7
commit
f08f96d171
1 changed files with 1 additions and 2 deletions
|
@ -6,14 +6,13 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TestGetLinks(object):
|
class TestGetLinks(object):
|
||||||
|
|
||||||
def test_get_links(self):
|
def test_get_links(self):
|
||||||
search = linkedinsearch.SearchLinkedin("facebook.com", '100')
|
search = linkedinsearch.SearchLinkedin("facebook.com", '100')
|
||||||
search.process()
|
search.process()
|
||||||
links = search.get_links()
|
links = search.get_links()
|
||||||
assert set(links)
|
assert list(links)
|
||||||
|
|
||||||
def test_links_linkedin(self):
|
def test_links_linkedin(self):
|
||||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
Loading…
Reference in a new issue