scheduler.test.dependencies package¶
Submodules¶
scheduler.test.dependencies.test_manager module¶
-
class
scheduler.test.dependencies.test_manager.
TestDependenciesManager
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_generate_database_status
()¶ Tests the _generate_database_status method
-
test_generate_elasticsearch_status
()¶ Tests the _generate_elasticsearch_status method
-
test_generate_idam_status_geoaxis_401
(*args, **keywargs)¶ Tests the _generate_idam_status method with geoaxis enabled and a bad config
-
test_generate_idam_status_geoaxis_404
(*args, **keywargs)¶ Tests the _generate_idam_status method with geoaxis enabled and a bad url
-
test_generate_idam_status_geoaxis_503
(*args, **keywargs)¶ Tests the _generate_idam_status method with geoaxis enabled and an unreachable host
-
test_generate_idam_status_geoaxis_success
(*args, **keywargs)¶ Tests the _generate_idam_status method with geoaxis enabled and a successful response
-
test_generate_idam_status_no_geoaxis
()¶ Tests the _generate_idam_status method with geoaxis disabled
-
test_generate_log_status_bad
(*args, **keywargs)¶ Tests the _generate_log_status method with invalid settings
-
test_generate_log_status_good
(*args, **keywargs)¶ Tests the _generate_log_status method with good settings
-
test_generate_log_status_none
()¶ Tests the _generate_log_status method without logs set
-
test_generate_log_status_warn
(*args, **keywargs)¶ Tests the _generate_log_status method with good settings and large queues
-
test_generate_message_queue_status_invalid_broker
(*args, **keywargs)¶ Tests the _generate_msg_queue_status method with a bad broker setting
-
test_generate_message_queue_status_rabbit_error
(*args, **keywargs)¶ Tests the _generate_msg_queue_status method with a bad amqp config
-
test_generate_message_queue_status_rabbit_success
(*args, **keywargs)¶ Tests the _generate_msg_queue_status method with a good amqp config
-
test_generate_message_queue_status_sqs_error
(*args, **keywargs)¶ Tests the _generate_msg_queue_status method with a bad sqs config
-
test_generate_message_queue_status_sqs_success
(*args, **keywargs)¶ Tests the _generate_msg_queue_status method with a good sqs config
-
test_generate_nodes_status
()¶ Tests the _generate_nodes_status method
-
test_generate_silo_status
()¶ Tests the _generate_silo_status method
-
-
scheduler.test.dependencies.test_manager.
mock_response_get
(*args, **kwargs)¶
-
scheduler.test.dependencies.test_manager.
mock_response_head
(*args, **kwargs)¶