From 696a2dbd132884c4766a2f1f7027c4650a25fafe Mon Sep 17 00:00:00 2001 From: Mike Gray Date: Thu, 11 Jul 2024 10:57:50 -0400 Subject: [PATCH] mark test as flaky so it doesn't block the suite --- requirements/test.txt | 1 + test/test_skill.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/requirements/test.txt b/requirements/test.txt index 9324619..8b3b918 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1 +1,2 @@ neon-minerva~=0.2 +flaky \ No newline at end of file diff --git a/test/test_skill.py b/test/test_skill.py index 26cbccf..b383d49 100644 --- a/test/test_skill.py +++ b/test/test_skill.py @@ -28,14 +28,13 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import shutil -import pytest - -from neon_minerva.tests.skill_unit_test_base import SkillTestCase - from threading import Event from unittest.mock import Mock -from ovos_bus_client.message import Message +import pytest +from flaky import flaky +from neon_minerva.tests.skill_unit_test_base import SkillTestCase +from ovos_bus_client.message import Message WW_STATE = True @@ -521,6 +520,7 @@ def handle_show_debug(msg): update_event.wait(3) self.assertFalse(debug_state) + @flaky def test_handle_change_ww(self): wake_word_config = {"hey_mycroft": {"active": False}, "hey_neon": {"active": True}}