d5db29d203e697ace306323e7bb1d433a8dcb3d2,workers/data_refinery_workers/processors/test_utils.py,StartJobTestCase,test_success,#StartJobTestCase#,44
Before Change
batch.save()
batch2.save()
processor_job = ProcessorJob()
processor_job.save()
processor_job_to_batch = ProcessorJobsToBatches(batch=batch,
processor_job=processor_job)
processor_job_to_batch.save()
processor_job_to_batch2 = ProcessorJobsToBatches(batch=batch2,
processor_job=processor_job)
processor_job_to_batch2.save()
After Change
batch.save()
batch2.save()
processor_job = ProcessorJob.create_job_and_relationships(batches=[batch, batch2])
kwargs = utils.start_job({"job": processor_job})
// start_job preserves the "job" key
self.assertEqual(kwargs["job"], processor_job)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: AlexsLemonade/refinebio
Commit Name: d5db29d203e697ace306323e7bb1d433a8dcb3d2
Time: 2017-07-20
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/test_utils.py
Class Name: StartJobTestCase
Method Name: test_success
Project Name: AlexsLemonade/refinebio
Commit Name: d5db29d203e697ace306323e7bb1d433a8dcb3d2
Time: 2017-07-20
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/test_utils.py
Class Name: StartJobTestCase
Method Name: test_success
Project Name: AlexsLemonade/refinebio
Commit Name: d5db29d203e697ace306323e7bb1d433a8dcb3d2
Time: 2017-07-20
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/management/commands/queue_processor.py
Class Name: Command
Method Name: handle
Project Name: AlexsLemonade/refinebio
Commit Name: d5db29d203e697ace306323e7bb1d433a8dcb3d2
Time: 2017-07-20
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/test_utils.py
Class Name: RunPipelineTestCase
Method Name: test_value_passing