import pytest from Utils import yaml_handler from Utils import req_handler from TestData.report.report_test_data import reportData class TestReport: yaml_path = r'report/report.yaml' yaml_data = yaml_handler.yaml_handler.get_case(yaml_path) @pytest.mark.flaky(reruns=reportData.rerun, reruns_delay=reportData.rerun_delay) @pytest.mark.parametrize('case',yaml_data) def test_report(self,case): req_handler.ReqHandler.send_requests(case=case,var_class=reportData)