From f4cf4def0f2c40a94e814a2f2e19652f8659beeb Mon Sep 17 00:00:00 2001 From: Mikhail Koviazin Date: Mon, 25 Nov 2024 10:59:21 +0100 Subject: [PATCH] tests: mark test_hash for skipping Hash commands are part of proprietary module that Valkey does not implement for now. Mark them for skipping just like JSON and search. Signed-off-by: Mikhail Koviazin --- tests/test_asyncio/test_hash.py | 3 +++ tests/test_hash.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/tests/test_asyncio/test_hash.py b/tests/test_asyncio/test_hash.py index d4f18053..13549c75 100644 --- a/tests/test_asyncio/test_hash.py +++ b/tests/test_asyncio/test_hash.py @@ -1,8 +1,11 @@ import asyncio from datetime import datetime, timedelta +import pytest from tests.conftest import skip_if_server_version_lt +pytestmark = pytest.mark.skip + @skip_if_server_version_lt("7.3.240") async def test_hexpire_basic(r): diff --git a/tests/test_hash.py b/tests/test_hash.py index 7145b10a..9519e0a6 100644 --- a/tests/test_hash.py +++ b/tests/test_hash.py @@ -4,6 +4,8 @@ import pytest from tests.conftest import skip_if_server_version_lt +pytestmark = pytest.mark.skip + @skip_if_server_version_lt("7.3.240") def test_hexpire_basic(r):