class Foo(object): bla = quiz.FieldDefinition('bla', 'my description', args=fdict.EMPTY, type=quiz.List[int], is_deprecated=False, deprecation_reason=None)
def test_doc(self): schema = quiz.FieldDefinition('foo', 'my description', type=quiz.List[str], args=fdict.EMPTY, is_deprecated=False, deprecation_reason=None) assert '[str]' in schema.__doc__
def test_doc(self): schema = quiz.FieldDefinition( "foo", "my description", type=quiz.List[str], args=fdict.EMPTY, is_deprecated=False, deprecation_reason=None, ) assert "[str]" in schema.__doc__