def test_check_registration_closed():
    assert validator.check_registration("closed")
def test_check_registration_fail():
    assert not validator.check_registration("close")
def test_check_registration_open():
    assert validator.check_registration("open")
def test_check_registration_restricted():
    assert validator.check_registration("restricted")
Ejemplo n.º 5
0
def test_check_registration_restricted():
    assert validator.check_registration("restricted")
Ejemplo n.º 6
0
def test_check_registration_open():
    assert validator.check_registration("open")
Ejemplo n.º 7
0
def test_check_registration_fail():
    assert not validator.check_registration("close")
Ejemplo n.º 8
0
def test_check_registration_closed():
    assert validator.check_registration("closed")
Ejemplo n.º 9
0
def test_check_registration_open():
    assert swc_index_validator.check_registration("open")