move data property into the base EnvironmentForm so that NO_ACCESS is converted to None when creating a new application member
This commit is contained in:
@@ -22,7 +22,7 @@ def test_environment_form_default_no_access():
|
||||
assert form.data == {
|
||||
"environment_id": 123,
|
||||
"environment_name": "testing",
|
||||
"role": NO_ACCESS,
|
||||
"role": None,
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user