def METHOD_NAME(create_basic_job_with_data_sets):
    with app.app_context():
        # we also create 1 job with a dataset for mimir
        instance = get_instance_from_db(name='fr')
        job = models.Job()
        job.instance = instance
        dataset = models.DataSet()
        dataset.family_type = 'mimir'
        dataset.type = 'stop2mimir'
        dataset.name = '/path/to/dataset_3'
        models.db.session.add(dataset)
        job.data_sets.append(dataset)
        job.state = 'done'
        models.db.session.add(job)
        models.db.session.commit()