recipe.test.handlers package

Submodules

recipe.test.handlers.test_graph module

class recipe.test.handlers.test_graph.TestRecipeGraph(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_get_topological_order()

Tests calling RecipeGraph.get_topological_order() successfully

recipe.test.handlers.test_graph_delta module

class recipe.test.handlers.test_graph_delta.TestRecipeGraphDelta(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_init_changed()

Tests creating a RecipeGraphDelta between two graphs where some nodes were changed (and 1 deleted)

test_init_deleted_and_new()

Tests creating a RecipeGraphDelta between two graphs where some nodes were deleted and new nodes added

test_init_identical()

Tests creating a RecipeGraphDelta between two identical graphs

test_init_new_required_input()

Tests creating a RecipeGraphDelta between two graphs where the new graph has a new required input that blocks reprocessing

test_reprocess_identical_node()

Tests calling RecipeGraphDelta.reprocess_identical_node() to indicate identical nodes that should be marked as changed

Module contents