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