recipe.test.messages package¶
Submodules¶
recipe.test.messages.test_create_conditions module¶
recipe.test.messages.test_create_recipes module¶
-
class
recipe.test.messages.test_create_recipes.TestCreateRecipes(methodName='runTest')¶ Bases:
django.test.testcases.TestCase-
fixtures= [u'ingest_job_types.json']¶
-
setUp()¶
-
test_create_101_recipes()¶ Tests calling create_reprocess_messages() with 101 recipes
-
test_execute_entire_reprocess()¶ Tests performing an entire reprocess by starting with a reprocess create_recipes message and executing all resulting messages
-
test_execute_reprocess()¶ Tests calling CreateRecipes.execute() successfully when reprocessing recipes
-
test_execute_subrecipes()¶ Tests calling CreateRecipes.execute() successfully when creating sub-recipes
-
test_execute_subrecipes_superseded()¶ Tests calling CreateRecipes.execute() successfully when creating sub-recipes that supersede other sub-recipes
-
test_json_create_new()¶
-
test_json_reprocess()¶ Tests converting a CreateRecipes message to and from JSON when re-processing
-
test_json_reprocess_forced_nodes()¶ Tests converting a CreateRecipes message to and from JSON when re-processing with forced nodes
-
test_json_subrecipes()¶ Tests converting a CreateRecipes message to and from JSON when creating sub-recipes
-
test_json_subrecipes_superseded()¶ Tests converting a CreateRecipes message to and from JSON when creating sub-recipes that supersede other sub-recipes
-
recipe.test.messages.test_process_condition module¶
recipe.test.messages.test_process_recipe_input module¶
-
class
recipe.test.messages.test_process_recipe_input.TestProcessRecipeInput(methodName='runTest')¶ Bases:
django.test.testcases.TransactionTestCase-
setUp()¶
-
test_execute_with_data()¶ Tests calling ProcessRecipeInput.execute() successfully when the recipe already has data populated
-
test_execute_with_recipe()¶ Tests calling ProcessRecipeInput.execute() successfully when a sub-recipe has to get its data from its recipe
-
test_execute_with_recipe_legacy()¶ Tests calling ProcessRecipeInput.execute() successfully when a legacy sub-recipe has to get its data from its recipe
-
test_json()¶ Tests coverting a ProcessRecipeInput message to and from JSON
-
test_json_forced_nodes()¶ Tests coverting a ProcessRecipeInput message to and from JSON with forced nodes provided
-
recipe.test.messages.test_purge_recipe module¶
-
class
recipe.test.messages.test_purge_recipe.TestPurgeRecipe(methodName='runTest')¶ Bases:
django.test.testcases.TransactionTestCase-
setUp()¶
-
test_execute_check_results()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_dummy_recipe()¶ Tests calling PurgeRecipe.execute() with dummy nodes
-
test_execute_force_stop()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_no_leaf_nodes()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_with_jobs()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_with_parent_recipe()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_with_sub_recipe()¶ Tests calling PurgeRecipe.execute() successfully
-
test_execute_with_superseded_recipe()¶ Tests calling PurgeRecipe.execute() successfully
-
test_json()¶ Tests coverting a PurgeRecipe message to and from JSON
-
recipe.test.messages.test_supersede_recipe_nodes module¶
-
class
recipe.test.messages.test_supersede_recipe_nodes.TestSupersedeRecipeNodes(methodName='runTest')¶ Bases:
django.test.testcases.TestCase-
setUp()¶
-
test_execute()¶ Tests calling SupersedeRecipeNodes.execute() successfully
-
test_execute_recursively()¶ Tests calling SupersedeRecipeNodes.execute() recursively
-
test_json()¶ Tests coverting a SupersedeRecipeNodes message to and from JSON
-
recipe.test.messages.test_update_recipe module¶
-
class
recipe.test.messages.test_update_recipe.TestUpdateRecipe(methodName='runTest')¶ Bases:
django.test.testcases.TestCase-
setUp()¶
-
test_execute()¶ Tests calling UpdateRecipe.execute() successfully
-
test_json()¶ Tests converting an UpdateRecipe message to and from JSON
-
test_json_forced_nodes()¶ Tests converting an UpdateRecipe message to and from JSON when forced nodes are provided
-
recipe.test.messages.test_update_recipe_definition module¶
-
class
recipe.test.messages.test_update_recipe_definition.TestUpdateRecipeDefinition(methodName='runTest')¶ Bases:
django.test.testcases.TestCase-
setUp()¶
-
test_execute()¶ Tests calling UpdateRecipeDefinition.execute() successfully
-
test_json()¶ Tests converting an UpdateRecipeDefinition message to and from JSON
-
recipe.test.messages.test_update_recipe_metrics module¶
-
class
recipe.test.messages.test_update_recipe_metrics.TestUpdateRecipes(methodName='runTest')¶ Bases:
django.test.testcases.TestCase-
setUp()¶
-
test_execute()¶ Tests calling UpdateRecipeMetrics.execute() successfully
-
test_execute_with_sub_recipes()¶ Tests calling UpdateRecipeMetrics.execute() successfully with sub-recipes
-
test_execute_with_top_level_recipe()¶ Tests calling UpdateRecipeMetrics.execute() successfully where messages need to be sent to update a top-level recipe
-
test_json()¶ Tests coverting a UpdateRecipeMetrics message to and from JSON
-