Unverified Commit 013eec74 authored by Peter Stanko's avatar Peter Stanko
Browse files

Submit configurable has to be boolean

parent f6f0b86e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ class ProjectSchema(BaseSchema, NamedSchema, Schema):
    """
    assignment_url = fields.Str(required=False, allow_none=True)
    submit_instructions = fields.Str(required=False, allow_none=True)
    submit_configurable = fields.Str(required=False, allow_none=True)
    submit_configurable = fields.Bool(required=False, allow_none=True)
    config = NESTED('ProjectConfig',
                    exclude=('id', '_submissions_allowed_from',
                             '_submissions_allowed_to', '_archive_from'))
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ def test_create(rest_service, client):
    assert len(cpp_updated.projects) == cpp_projects + 1
    assert new_project['name'] == "new_project"
    assert new_project['id']
    assert new_project['submit_configurable'] == True
    rest_tools.assert_project_in(cpp_updated.projects, new_project)