fre.make.tests.test_make_helpers module
Test fre make make_helpers
- fre.make.tests.test_make_helpers.test_mktemplate_name(test_variables)
Test that the right template_path is constructed if just the template name is given for a bare-metal build.
- fre.make.tests.test_make_helpers.test_mktemplate_name_container(test_variables)
Test that the right template_path is passed/constructed if just the template name is given for a container build.
- fre.make.tests.test_make_helpers.test_mktemplate_path_bm(test_variables)
Test that the right template_path is passed if the whole path is given for a bare-metal build.
The output should be the same path that was passed.
- fre.make.tests.test_make_helpers.test_mktemplate_path_container(test_variables)
Test that the right template_path is passed if the whole path is given for a container build.
The output should be the same path that was passed.
- fre.make.tests.test_make_helpers.test_mktemplatepath_dne_with_name(test_variables)
Test that a ValueError is raised if the mkTemplate path does not exist for a bare-metal build (given name of template, not path).
- fre.make.tests.test_make_helpers.test_mktemplatepath_dne_with_path()
Test that a ValueError is raised if the mkTemplate path does not exist for a bare-metal build (given full path).
- fre.make.tests.test_make_helpers.test_vars_fixture()
Define variables for use in tests.