recipe.test.definition.json package

Submodules

recipe.test.definition.json.test_definition_v1 module

class recipe.test.definition.json.test_definition_v1.TestRecipeDefinitionV1(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_convert_recipe_definition_to_v1_json_empty()

Tests calling convert_recipe_definition_to_v1_json() with an empty definition

test_convert_recipe_definition_to_v1_json_full()

Tests calling convert_recipe_definition_to_v1_json() with a full definition

test_init_validation()

Tests the validation done in __init__

recipe.test.definition.json.test_definition_v6 module

class recipe.test.definition.json.test_definition_v6.TestRecipeDefinitionV6(methodName='runTest')

Bases: django.test.testcases.TestCase

setUp()
test_convert_recipe_definition_to_v6_json_empty()

Tests calling convert_recipe_definition_to_v6_json() with an empty definition

test_convert_recipe_definition_to_v6_json_full()

Tests calling convert_recipe_definition_to_v6_json() with a full definition

test_get_definition_empty()

Tests calling get_definition() from an empty JSON

test_get_definition_full()

Tests calling get_definition() from a full JSON

test_init_validation()

Tests the validation done in __init__

Module contents