diff --git a/tests/e2e/files/rulebooks/82_non_alpha_keys.yml b/tests/e2e/files/rulebooks/82_non_alpha_keys.yml deleted file mode 100644 index a7fbf354..00000000 --- a/tests/e2e/files/rulebooks/82_non_alpha_keys.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: 82 non alpha keys - hosts: all - sources: - - ansible.eda.generic: - payload: - - "http://www.example.com": "down" - - urls: - "http://www.example.com": "up" - - नाम: മധു - - rules: - - name: r1 - condition: event["http://www.example.com"] == "down" - action: - debug: - msg: "First check worked" - - name: r2 - condition: event.urls["http://www.example.com"] == "up" - action: - debug: - msg: "Second check worked" - - name: r3 - condition: event["नाम"] is search("മധു", ignorecase=true) - action: - print_event: diff --git a/tests/e2e/test_non_alpha_keys.py b/tests/e2e/test_non_alpha_keys.py index f959e6a1..1c0b0b65 100644 --- a/tests/e2e/test_non_alpha_keys.py +++ b/tests/e2e/test_non_alpha_keys.py @@ -27,7 +27,7 @@ async def test_non_alpha_numeric_keys(): endpoint = "/api/ws2" proc_id = "42" port = 31415 - rulebook = utils.BASE_DATA_PATH / "rulebooks/82_non_alpha_keys.yml" + rulebook = utils.EXAMPLES_PATH / "82_non_alpha_keys.yml" websocket_address = f"ws://localhost:{port}{endpoint}" cmd = utils.Command( rulebook=rulebook,