Exemplo n.º 1
0
def test_cert_is_wildcard(client):
    from .vectors import INTERNAL_VALID_WILDCARD_CERT, INTERNAL_VALID_LONG_CERT
    from lemur.common.defaults import is_wildcard
    assert is_wildcard(INTERNAL_VALID_WILDCARD_CERT)
    assert not is_wildcard(INTERNAL_VALID_LONG_CERT)
Exemplo n.º 2
0
def test_cert_is_wildcard(client):
    from lemur.common.defaults import is_wildcard
    assert is_wildcard(WILDCARD_CERT)
    assert not is_wildcard(INTERMEDIATE_CERT)
Exemplo n.º 3
0
def test_cert_is_wildcard(client):
    from .vectors import INTERNAL_VALID_WILDCARD_CERT, INTERNAL_VALID_LONG_CERT
    from lemur.common.defaults import is_wildcard
    assert is_wildcard(INTERNAL_VALID_WILDCARD_CERT)
    assert not is_wildcard(INTERNAL_VALID_LONG_CERT)
Exemplo n.º 4
0
def test_cert_is_wildcard(client):
    from lemur.common.defaults import is_wildcard
    assert is_wildcard(WILDCARD_CERT)
    assert not is_wildcard(INTERMEDIATE_CERT)