Try our examples!
python ips2whitelist.py examples\description_rfc1035.txt examples\dns_whitelist.txt
# OR
python ips2whitelist.py examples\description_tcp.txt examples\tcp_whitelist.txt
Run with:
pytest -v --env=dns tests\test_dns
# Or for TCP
pytest -v --env=tcp tests\test_tcp
On linux with pytest run:
pytest-3 -v --env=dns tests/test_dns
# Or for TCP
pytest-3 -v --env=tcp tests/test_tcp