comments.factories module¶
-
class
comments.factories.
CommentFactory
[source]¶ Bases:
factory.django.DjangoModelFactory
-
status
= 1¶
-
vetted_by
= <factory.declarations.Iterator object>¶
-
comment_text
= <factory.faker.Faker object>¶
-
remarks_for_editors
= <factory.faker.Faker object>¶
-
file_attachment
= 'decade.pdf'¶
-
date_submitted
= <factory.faker.Faker object>¶
-
is_cor
= <factory.faker.Faker object>¶
-
is_rem
= <factory.faker.Faker object>¶
-
is_que
= <factory.faker.Faker object>¶
-
is_ans
= <factory.faker.Faker object>¶
-
is_obj
= <factory.faker.Faker object>¶
-
is_rep
= <factory.faker.Faker object>¶
-
is_val
= <factory.faker.Faker object>¶
-
is_lit
= <factory.faker.Faker object>¶
-
is_sug
= <factory.faker.Faker object>¶
-
-
class
comments.factories.
CommentaryCommentFactory
[source]¶ Bases:
comments.factories.CommentFactory
-
content_object
= <factory.declarations.SubFactory object>¶
-
-
class
comments.factories.
SubmissionCommentFactory
[source]¶ Bases:
comments.factories.CommentFactory
-
content_object
= <factory.declarations.SubFactory object>¶
-
replies
= <factory.declarations.PostGeneration object>¶
-
-
class
comments.factories.
ReplyCommentFactory
[source]¶ Bases:
comments.factories.CommentFactory
-
content_object
= <factory.declarations.SubFactory object>¶
-
-
class
comments.factories.
ThesislinkCommentFactory
[source]¶ Bases:
comments.factories.CommentFactory
-
content_object
= <factory.declarations.SubFactory object>¶
-
-
class
comments.factories.
ReportCommentFactory
[source]¶ Bases:
comments.factories.CommentFactory
-
content_object
= <factory.declarations.SubFactory object>¶
-