Add test for task order form
This commit is contained in:
parent
6c8974b603
commit
f18f4404f5
9
tests/forms/test_task_order_form.py
Normal file
9
tests/forms/test_task_order_form.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import pytest
|
||||||
|
from wtforms import Form
|
||||||
|
|
||||||
|
from atst.forms.task_order import AppInfoForm
|
||||||
|
|
||||||
|
def test_complexity():
|
||||||
|
form = AppInfoForm(formdata={"complexity":["other", "not_sure", "storage"]})
|
||||||
|
|
||||||
|
assert form.data["complexity"] == ["other", "not_sure", "storage"]
|
Loading…
x
Reference in New Issue
Block a user