from sentinelscan.modules import vuln_checks


def test_check_admin_panels():
    results = vuln_checks.check_admin_panels("example.com")
    assert isinstance(results, list)

def test_check_sensitive_files():
    results = vuln_checks.check_sensitive_files("example.com")
    assert isinstance(results, list)

def test_check_open_ports():
    results = vuln_checks.check_open_ports("127.0.0.1", [80])
    assert isinstance(results, list)

def test_check_security_headers():
    results = vuln_checks.check_security_headers("example.com")
    assert isinstance(results, list)

def test_check_directory_listing():
    results = vuln_checks.check_directory_listing("example.com")
    assert isinstance(results, list)

def test_check_default_pages():
    results = vuln_checks.check_default_pages("example.com")
    assert isinstance(results, list)

def test_check_cve_patterns():
    results = vuln_checks.check_cve_patterns("example.com")
    assert isinstance(results, list)

def test_run_checks():
    results = vuln_checks.run_checks("example.com")
    assert isinstance(results, list)
