diff --git a/common/helpers/factories.py b/common/helpers/factories.py new file mode 100644 index 0000000000000000000000000000000000000000..0916ed2646d48953c3da7b6361737e3e48ea4ef8 --- /dev/null +++ b/common/helpers/factories.py @@ -0,0 +1,7 @@ +import factory + + +class FormFactory(factory.Factory): + @classmethod + def _build(cls, model_class, *args, **kwargs): + return model_class(kwargs)