mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-23 08:46:32 +08:00
17 lines
366 B
Python
17 lines
366 B
Python
#!/usr/bin/env python3
|
|
# coding=utf-8
|
|
from theHarvester.discovery import linkedinsearch
|
|
import pytest
|
|
|
|
|
|
class TestGetLinks(object):
|
|
|
|
def test_get_links(self):
|
|
search = linkedinsearch.SearchLinkedin("facebook.com", '100')
|
|
search.process()
|
|
links = search.get_links()
|
|
assert list(links)
|
|
|
|
if __name__ == '__main__':
|
|
pytest.main()
|