Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
maurosoria
GitHub Repository: maurosoria/dirsearch
Path: blob/master/tests/parse/test_nmap.py
896 views
1
from unittest import TestCase
2
3
from lib.parse.nmap import parse_nmap
4
5
6
class TestNmapParser(TestCase):
7
def test_parse_nmap(self):
8
self.assertEqual(parse_nmap("./tests/static/nmap.xml"), ["scanme.nmap.org:80"], "Nmap parser gives unexpected result")
9
10