def test_reset_job_sync(): """ reset job def """ bulk = Bulk(test=True) bulk.job['job_type'] = 'imports' bulk.reset() assert bulk.job_sync == {}
def test_reset_job(): """ reset job params """ bulk = Bulk(test=True) bulk.job['job_type'] = 'imports' bulk.reset() assert bulk.job == BLANK_JOB