theHarvester/tests/discovery/test_linkedin_links.py

17 lines
366 B
Python
Raw Normal View History

#!/usr/bin/env python3
# coding=utf-8
from theHarvester.discovery import linkedinsearch
2019-09-07 11:00:22 +08:00
import pytest
class TestGetLinks(object):
def test_get_links(self):
search = linkedinsearch.SearchLinkedin("facebook.com", '100')
search.process()
links = search.get_links()
2019-09-08 07:50:53 +08:00
assert list(links)
2019-09-07 11:35:59 +08:00
if __name__ == '__main__':
pytest.main()