def METHOD_NAME(self):
    setup_subscription_plans()
    # Create a user
    self.user1 = Person.objects.create_user(username="user1", password="abc123")
    self.token1 = AuthToken.objects.get_or_create(user=self.user1)[0]
    set_subscription(self.user1, "default_user")
    # Create a project
    self.project1 = Project.objects.create(
        name="project1", owner=self.user1, description="desc", is_public=False
    )
    self.job = Job.objects.create(
        type=Job.Type.PACKAGE, project=self.project1, created_by=self.user1
    )
    self.package_job = PackageJob.objects.create(
        type=Job.Type.PACKAGE, project=self.project1, created_by=self.user1
    )
    self.processprojectfile_job = ProcessProjectfileJob.objects.create(
        type=Job.Type.PROCESS_PROJECTFILE,
        project=self.project1,
        created_by=self.user1,
    )
    self.delta_apply_job = ApplyJob.objects.create(
        type=Job.Type.DELTA_APPLY,
        project=self.project1,
        created_by=self.user1,
        overwrite_conflicts=True,
    )