recipe.test.diff.json package

Submodules

recipe.test.diff.json.test_diff_v6 module

class recipe.test.diff.json.test_diff_v6.TestRecipeDiffV6(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_convert_diff_to_v6_empty()

Tests calling convert_diff_to_v6() with an empty diff

test_convert_diff_to_v6_full_diff()

Tests calling convert_diff_to_v6() with a full diff with all types (deleted, new, changed, etc) of nodes

test_convert_diff_to_v6_new_required_input()

Tests calling convert_diff_to_v6() with a diff containing a new required input that blocks reprocessing

test_convert_recipe_diff_to_v6_json_empty()

Tests calling convert_recipe_diff_to_v6_json() with an empty diff

test_convert_recipe_diff_to_v6_json_new_required_input()

Tests calling convert_recipe_diff_to_v6_json() with a diff where there is a breaking recipe interface change

test_convert_recipe_diff_to_v6_json_with_changes()

Tests calling convert_recipe_diff_to_v6_json() with a diff containing a variety of changes

test_init_validation()

Tests the validation done in __init__

recipe.test.diff.json.test_forced_nodes_v6 module

class recipe.test.diff.json.test_forced_nodes_v6.TestForcedNodesV6(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_convert_forced_nodes_to_v6_empty()

Tests calling convert_forced_nodes_to_v6() with an empty forced nodes object

test_convert_forced_nodes_to_v6_full()

Tests calling convert_forced_nodes_to_v6() with a full diff with all types (deleted, new, changed, etc) of nodes

test_full_json()

Tests calling ForcedNodesV6() with full valid json

test_invalid_additional_property()

Tests calling ForcedNodesV6() with json that doesn’t match the schema

test_invalid_version()

Tests calling ForcedNodesV6() with json that doesn’t match the schema

test_minimal()

Tests calling ForcedNodesV6() with no args

test_missing_all()

Tests calling ForcedNodesV6() with json that doesn’t match the schema

Module contents