RedHatQE / teflo

Teflo is a standalone orchestration software that controls the flow of a set of testing scenarios, allowing users to provision machines, deploy software, execute tests against them and manage generated artifacts and report results.
https://teflo.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 16 forks source link

CCITCARBON-476 fix --show-graph -im #254

Closed guyyaakov1 closed 1 year ago

rujutashinde commented 1 year ago

@guyyaakov1 can you please add a test using the local_scenario test to call the show command to display the graph, something like below. i believe sdf0_test_jinja.yml has included scenarios. you could use any as sdf in that dir as long as it executes this command

teflo show --show-graph -s sdf0_test_jinja.yml
--------------------------------------------------
Teflo Framework v2.2.7
Copyright (C) 2022, Red Hat, Inc.
--------------------------------------------------
2022-11-03 13:39:35,826 WARNING [teflo.teflo.__init__:199] Scenario workspace was not set, therefore the workspace is automatically assigned to the current working directory. You may experience problems if files needed by teflo do not exists in the scenario workspace.
2022-11-03 13:39:35,826 DEBUG [teflo.helpers.check_for_var_file:1379] Default variable file found in teflo.cfg
Below is the structure of the Scenario Definition Files

ITERATE METHOD: by_level

->sdf0_test_jinja.yml
   ->sdf1_test_jinja.yml
   ->sdf2_test_jinja.yml