tests.utils package#
Subpackages#
- tests.utils.exceptions package
- tests.utils.functions package
- Submodules
- tests.utils.functions.test_functions module
TestAddChat
TestCreateApacheKafkaTopic
TestCreateApacheKafkaTopic.randomly_generated_kafka_test_topic
TestCreateApacheKafkaTopic.setUpClass()
TestCreateApacheKafkaTopic.tearDown()
TestCreateApacheKafkaTopic.test_function_creates_kafka_topic()
TestCreateApacheKafkaTopic.test_function_displays_warning_in_the_event_topic_to_be_created_already_exists()
TestCreateApacheKafkaTopic.test_function_raises_exception_if_kafka_topic_was_not_created_successfully()
TestCreateApacheKafkaTopic.test_function_raises_value_error_on_invalid_inputs()
TestCreateApacheKafkaTopic.test_function_takes_topic_argument()
TestCreateMessageJSON
TestGenerateMessage
TestGenerateMessage.setUpClass()
TestGenerateMessage.test_function_calls_User_generate_message_method_once_during_function_call()
TestGenerateMessage.test_function_return_type_is_of_expected_json_type()
TestGenerateMessage.test_function_returns_message_json_with_different_context_id_from_passed_context_id_if_parent_id_is_None()
TestGenerateMessage.test_function_returns_message_json_with_same_context_id_from_passed_context_id_if_parent_id_is_not_None()
TestGenerateMessage.test_function_takes_User_object_argument_where_the_passed_object_must_already_be_instantiated()
TestGenerateMessage.test_function_takes_other_other_arguments_including_instantiated_user_object_to_populate_return_value()
- Module contents