recipe.test.definition package¶
Subpackages¶
Submodules¶
recipe.test.definition.test_definition module¶
-
class
recipe.test.definition.test_definition.
TestRecipeDefinition
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_add_dependency_missing_child
()¶ Tests calling RecipeDefinition.add_dependency() with a missing child node
-
test_add_dependency_missing_parent
()¶ Tests calling RecipeDefinition.add_dependency() with a missing parent node
-
test_dependency_input_conn_cannot_connect_to_recipe
()¶ Tests calling RecipeDefinition.add_dependency_input_connection() to connect to a recipe node (invalid)
-
test_dependency_input_conn_duplicate_input
()¶ Tests calling RecipeDefinition.add_dependency_input_connection() to connect to a duplicate input
-
test_dependency_input_conn_missing_dependency
()¶ Tests calling RecipeDefinition.add_dependency_input_connection() with an unknown dependency node
-
test_dependency_input_conn_missing_input_node
()¶ Tests calling RecipeDefinition.add_dependency_input_connection() with an unknown input node
-
test_dependency_input_conn_successful
()¶ Tests calling RecipeDefinition.add_dependency_input_connection() successfully
-
test_generate_node_input_data
()¶ Tests calling RecipeDefinition.generate_node_input_data()
-
test_recipe_input_conn_duplicate_input
()¶ Tests calling RecipeDefinition.add_recipe_input_connection() to connect to a duplicate input
-
test_recipe_input_conn_missing_input
()¶ Tests calling RecipeDefinition.add_recipe_input_connection() with an unknown recipe input
-
test_recipe_input_conn_missing_input_node
()¶ Tests calling RecipeDefinition.add_recipe_input_connection() with an unknown input node
-
test_recipe_input_conn_successful
()¶ Tests calling RecipeDefinition.add_recipe_input_connection() successfully
-
test_topological_order_circular
()¶ Tests calling RecipeDefinition.get_topological_order() with a circular dependency
-
test_topological_order_successful
()¶ Tests calling RecipeDefinition.get_topological_order() successfully
-
test_update_job_node
()¶ Tests calling RecipeDefinition.update_job_node() successfully
-
test_update_recipe_node
()¶ Tests calling RecipeDefinition.update_recipe_node() successfully
-
test_validate_invalid_connection
()¶ Tests calling RecipeDefinition.validate() with an invalid connection to a node’s input interface
-
test_validate_invalid_input_interface
()¶ Tests calling RecipeDefinition.validate() with an invalid input interface
-
test_validate_missing_dependency
()¶ Tests calling RecipeDefinition.validate() with a connection that has a missing dependency
-
test_validate_successful
()¶ Tests calling RecipeDefinition.validate() successfully
-