Skip to content

Commit

Permalink
test with endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <[email protected]>
  • Loading branch information
shohamazon committed Aug 20, 2024
1 parent 9a5c200 commit 7481609
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ jobs:
run: |
source .env/bin/activate
cd python/tests/
pytest --asyncio-mode=auto --html=pytest_report.html --self-contained-html
pytest --asyncio-mode=auto --tls --cluster-endpoints=${{ secrets.MEMDB_MODULES_ENDPOINT }} -k test_vss --html=pytest_report.html --self-contained-html
5 changes: 5 additions & 0 deletions python/python/tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9516,6 +9516,11 @@ async def test_multi_key_command_routed_to_multiple_nodes(
await glide_client.touch(["abc", "zxy", "lkn"])
await glide_client.watch(["abc", "zxy", "lkn"])

@pytest.mark.parametrize("cluster_mode", [True])
@pytest.mark.parametrize("protocol", [ProtocolVersion.RESP2, ProtocolVersion.RESP3])
async def test_vss(self, glide_client: GlideClusterClient):
assert await glide_client.custom_command("FT.CREATE idx ON JSON SCHEMA $.title AS title TEXT $.categories AS categories TAG".split()) == OK # type: ignore


class TestCommandsUnitTests:
def test_expiry_cmd_args(self):
Expand Down

0 comments on commit 7481609

Please sign in to comment.