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")
def test_check_registration_open(): assert swc_index_validator.check_registration("open")