Loading portal/rest/schemas.py +1 −1 Original line number Diff line number Diff line Loading @@ -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')) Loading tests/rest/test_project.py +1 −0 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
portal/rest/schemas.py +1 −1 Original line number Diff line number Diff line Loading @@ -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')) Loading
tests/rest/test_project.py +1 −0 Original line number Diff line number Diff line Loading @@ -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) Loading