from faker import Factory as FakerFactory

import factory

from db.models.jobs import Job
from factories.factory_users import UserFactory
from factories.fixtures import job_spec_parsed_content

fake = FakerFactory.create()


class JobFactory(factory.DjangoModelFactory):
    config = job_spec_parsed_content.parsed_data

    user = factory.SubFactory(UserFactory)

    class Meta:
        model = Job

@@ -83,16 +83,70 @@
 ort Job%0A
+from factories.factory_projects import ProjectFactory%0A
 from fac
@@ -410,16 +410,65 @@
 Factory)
+%0A    project = factory.SubFactory(ProjectFactory)
 %0A%0A    cl

Update jobs factory