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:
leigh-mil
2019-08-14 16:54:23 -04:00
parent afd84e178f
commit c37c5d72b9
4 changed files with 10 additions and 10 deletions

View File

@@ -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,
}