cfme.utils.path module¶
Project path helpers
Contains py.path.local objects for accessing common project locations.
Paths rendered below will be different in your local environment.
-
cfme.utils.path.conf_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/conf')¶ conf yaml storage,
cfme_tests/conf/
-
cfme.utils.path.data_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/data')¶ datafile storage,
cfme_tests/data/
-
cfme.utils.path.docs_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/docs')¶ doc root, where these file came from!
cfme_tests/docs/
-
cfme.utils.path.get_rel_path(absolute_path_str)[source]¶ Get a relative path for object in the project root
Parameters: absolute_path_str – An absolute path to a file anywhere under project_path Note
This will be a no-op for files that are not in project_path
-
cfme.utils.path.log_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/log')¶ log storage,
cfme_tests/log/
-
cfme.utils.path.orchestration_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/data/orchestration')¶ orchestration datafile storage,
cfme_tests/data/orchestration
-
cfme.utils.path.patches_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/data/patches')¶ patch files (diffs)
-
cfme.utils.path.project_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest')¶ The project root,
cfme_tests/
-
cfme.utils.path.resources_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/data/resources')¶ resource files root directory,
cfme_tests/data/resources
-
cfme.utils.path.results_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/results')¶ results path for performance tests,
cfme_tests/results/
-
cfme.utils.path.scripts_data_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/scripts/data')¶ interactive scripts’ data,
cfme_tests/scripts/data
-
cfme.utils.path.scripts_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/scripts')¶ interactive scripts,
cfme_tests/scripts/
-
cfme.utils.path.template_path= local('/home/docs/checkouts/readthedocs.org/user_builds/integration-tests-debug/checkouts/latest/data/templates')¶ jinja2 templates, use with
jinja2.FileSystemLoader