Unit Tests for the Image Recipe Tools module.¶
Test the functions that work with recipes and images.
-
class
test_image_recipe_tools.
TestDependencyResolver
(methodName='runTest')[source]¶ Test the function, that sorts a list of recipe files on their dependencies.
-
test_get_dependency_from_recipe
()[source]¶ Test the function, that reads the dependency from a recipes header.
-
test_get_path_from_dependency
()[source]¶ Test the function to get the recipe path from a dependency.
-
-
class
test_image_recipe_tools.
TestImageInSRegistry
(methodName='runTest')[source]¶ Test the function to check, if an image already exists in the sregistry.
-
class
test_image_recipe_tools.
TestImagePusher
(methodName='runTest')[source]¶ Test the function to Push an image to an sregistry.
-
class
test_image_recipe_tools.
TestInfoFromRecipe
(methodName='runTest')[source]¶ Test the functions to return collection, image version and name given a recipe.
-
test_get_coll_from_recipe_path
()[source]¶ Test the function to return the collection name given a recipes full path.
-