From a80d528959219fa6c2b80572b4c52f37cd837cf3 Mon Sep 17 00:00:00 2001 From: wwakabobik Date: Fri, 30 Aug 2024 16:20:37 +0200 Subject: [PATCH] Linter fixes --- ...test_engines_plotly_reporter_draw_automation_state_report.py | 2 +- .../test_engines_plotly_reporter_draw_test_case_by_area.py | 2 +- .../test_engines_plotly_reporter_draw_test_case_by_priority.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/engines/test_engines_plotly_reporter_draw_automation_state_report.py b/tests/engines/test_engines_plotly_reporter_draw_automation_state_report.py index bcc74de..dca849b 100644 --- a/tests/engines/test_engines_plotly_reporter_draw_automation_state_report.py +++ b/tests/engines/test_engines_plotly_reporter_draw_automation_state_report.py @@ -74,7 +74,7 @@ def test_draw_automation_state_report_creates_file(case_stat, case_stat_random, remove(filename) -@pytest.mark.xfail(condition='GITHUB_ACTIONS' in environ, reason="Image may differ on GA env") +@pytest.mark.xfail(condition="GITHUB_ACTIONS" in environ, reason="Image may differ on GA env") def test_draw_automation_state_report_creates_correct_image( random_expected_image, compare_image # pylint: disable=W0621 ): diff --git a/tests/engines/test_engines_plotly_reporter_draw_test_case_by_area.py b/tests/engines/test_engines_plotly_reporter_draw_test_case_by_area.py index 0bac878..2d0af06 100644 --- a/tests/engines/test_engines_plotly_reporter_draw_test_case_by_area.py +++ b/tests/engines/test_engines_plotly_reporter_draw_test_case_by_area.py @@ -83,7 +83,7 @@ def test_draw_test_case_by_area_creates_file(case_stat, case_stat_random, random remove(filename) -@pytest.mark.xfail(condition='GITHUB_ACTIONS' in environ, reason="Image may differ on GA env") +@pytest.mark.xfail(condition="GITHUB_ACTIONS" in environ, reason="Image may differ on GA env") def test_draw_test_case_by_area_creates_correct_image(random_expected_image, compare_image): # pylint: disable=W0621 """ Init PlotlyReporter and call draw_test_case_by_area with valid parameters should create correct image diff --git a/tests/engines/test_engines_plotly_reporter_draw_test_case_by_priority.py b/tests/engines/test_engines_plotly_reporter_draw_test_case_by_priority.py index b200a28..6f7aec7 100644 --- a/tests/engines/test_engines_plotly_reporter_draw_test_case_by_priority.py +++ b/tests/engines/test_engines_plotly_reporter_draw_test_case_by_priority.py @@ -51,7 +51,7 @@ def test_draw_test_case_by_priority_creates_file(random_plotly_reporter): remove(filename) -@pytest.mark.xfail(condition='GITHUB_ACTIONS' in environ, reason="Image may differ on GA env") +@pytest.mark.xfail(condition="GITHUB_ACTIONS" in environ, reason="Image may differ on GA env") def test_draw_test_case_by_priority_creates_correct_image(compare_image, random_plotly_reporter): """ Init PlotlyReporter and call draw_test_case_by_priority with valid parameters should create correct image