Skip to content

Commit

Permalink
tests: mark test_hash for skipping
Browse files Browse the repository at this point in the history
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 <mikhail.koviazin@aiven.io>
  • Loading branch information
mkmkme committed Nov 25, 2024
1 parent e456432 commit f4cf4de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_asyncio/test_hash.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
2 changes: 2 additions & 0 deletions tests/test_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f4cf4de

Please sign in to comment.