job.test.execution.configuration package

Submodules

job.test.execution.configuration.test_configurators module

class job.test.execution.configuration.test_configurators.MockCommandMessageManager
send_messages(commands)
class job.test.execution.configuration.test_configurators.TestQueuedExecutionConfigurator(methodName='runTest')

Bases: django.test.testcases.TestCase

fixtures = [u'ingest_job_types.json']
setUp()
test_configure_queued_job_empty_output_data()

Tests calling configure_queued_job() on a regular (non-system) job with empty output_data

test_configure_queued_job_ingest_with_new_workspace(*args, **keywargs)

Tests successfully calling configure_queued_job() on an ingest job with a new workspace

test_configure_queued_job_ingest_without_new_workspace(*args, **keywargs)

Tests successfully calling configure_queued_job() on an ingest job without a new workspace

test_configure_queued_job_old_ingest()

Tests successfully calling configure_queued_job() on an old (before revision 3) ingest job

test_configure_queued_job_regular()

Tests successfully calling configure_queued_job() on a regular (non-system) job

test_configure_queued_job_scan(*args, **keywargs)

Tests successfully calling configure_queued_job() on a Scan job

test_configure_queued_job_strike(*args, **keywargs)

Tests successfully calling configure_queued_job() on a Strike job

test_injected_input_file_env_vars()

Tests successfully injecting the proper values for input files regardless of if single or multiple files are passed based on the ‘multiple’: True seed manifest flag

class job.test.execution.configuration.test_configurators.TestScheduledExecutionConfigurator(methodName='runTest')

Bases: django.test.testcases.TestCase

fixtures = [u'ingest_job_types.json']
setUp()
test_configure_scheduled_job_ingest(*args, **keywargs)

Tests successfully calling configure_scheduled_job() on an ingest job

test_configure_scheduled_job_logging(*args, **keywargs)

Tests successfully calling configure_scheduled_job() and checks Docker logging parameters

test_configure_scheduled_job_regular(*args, **keywargs)

Tests successfully calling configure_scheduled_job() on a regular (non-system) job

test_configure_scheduled_job_secrets(*args, **keywargs)

Tests successfully calling configure_scheduled_job() and checks to make sure secrets are appropriately handled

test_configure_scheduled_job_shared_mem(*args, **keywargs)

Tests successfully calling configure_scheduled_job() with a job using shared memory

Module contents