Пример #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