Beispiel #1
0
def create_dummy_job():
    num_jobs = len(models.SliceJob.objects) + 1
    result = models.create_store_job(
            num_jobs, 'test.ini', ['*****@*****.**'],
            ['test.stl'])

    dummy_jobs.append(num_jobs)

    return result
Beispiel #2
0
    def gen_test_job(self):
        result = models.create_store_job(self.job_id, self.config_filename,
                                         [self.model_filename], [self.email])

        return result
Beispiel #3
0
    def gen_test_job(self):
        result = models.create_store_job(
            self.job_id, self.config_filename, [self.model_filename],
            [self.email])

        return result