forked from retoor/devplacepy
Nodes
This commit is contained in:
@@ -40,7 +40,7 @@ def test_registration_needs_consent_and_enablement(client):
|
||||
not_enabled = make_member(enabled=False)
|
||||
assert create(client, not_enabled).json()["error"]["reason"] == "not_enabled"
|
||||
minor = make_member(age_band="16_17")
|
||||
assert create(client, minor).json()["error"]["reason"] == "not_adult"
|
||||
assert create(client, minor).status_code == 201
|
||||
|
||||
|
||||
def test_kill_switch_blocks_registration(client, member):
|
||||
|
||||
Reference in New Issue
Block a user