Beispiel #1
0
def test_handle_domains_argument_fnf_error():
    scan_utils.handle_domains_argument("notarealfile.csv", "./cache")
Beispiel #2
0
def test_handle_domains_argument_io_error():
    scan_utils.handle_domains_argument("http://thing.notarealtld", "./cache")
Beispiel #3
0
def test_handle_domains_argument(domains, cache, expected):
    result = scan_utils.handle_domains_argument(domains, cache)
    assert result == expected
Beispiel #4
0
def test_handle_domains_argument_fnf_error():
    scan_utils.handle_domains_argument("notarealfile.csv", "./cache")
Beispiel #5
0
def test_handle_domains_argument_io_error():
    scan_utils.handle_domains_argument("http://thing.notarealtld", "./cache")
Beispiel #6
0
def test_handle_domains_argument(domains, cache, expected):
    result = scan_utils.handle_domains_argument(domains, cache)
    assert result == expected