def mock_schema_min(): """Minimum Schema fixture. """ test_schema = schema_factory(schema_name='MinTest', attr=StringNode()) return test_schema
def mock_schema(): """Schema fixture. """ test_schema = schema_factory(schema_name='test', number=IntegerNode(default=0), name=StringNode(required=True), scores=FloatNode(required=True, array=True)) return test_schema
def mock_schema_min(): """Minimum Schema fixture. """ test_schema = schema_factory( schema_name='MinTest', attr=StringNode() ) return test_schema
def mock_schema(): """Schema fixture. """ test_schema = schema_factory( schema_name='test', number=IntegerNode(default=0), name=StringNode(required=True), scores=FloatNode(required=True, array=True) ) return test_schema