Add test for task order form

This commit is contained in:
Montana 2019-01-03 09:25:16 -05:00
parent 6c8974b603
commit f18f4404f5

View 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"]