theses.factories module¶
-
class
theses.factories.
BaseThesisLinkFactory
[source]¶ Bases:
factory.django.DjangoModelFactory
-
requested_by
= <factory.declarations.SubFactory object>¶
-
vetted_by
= <factory.declarations.SubFactory object>¶
-
vetted
= True¶
-
type
= <factory.declarations.Iterator object>¶
-
acad_field
= <factory.declarations.SubFactory object>¶
-
approaches
= <factory.declarations.Iterator object>¶
-
title
= <factory.faker.Faker object>¶
-
pub_link
= <factory.faker.Faker object>¶
-
supervisor
= <factory.faker.Faker object>¶
-
institution
= <factory.faker.Faker object>¶
-
defense_date
= <factory.faker.Faker object>¶
-
abstract
= <factory.faker.Faker object>¶
-
classmethod
create
(**kwargs)[source]¶ Create an instance of the associated class, with overriden attrs.
-
add_specialties
= <factory.declarations.PostGeneration object>¶
-
-
class
theses.factories.
VetThesisLinkFormFactory
[source]¶ Bases:
common.helpers.factories.FormFactory
-
action_option
= 1¶
-