From 7113489bf81ccec64d0995be72e7585624218ae8 Mon Sep 17 00:00:00 2001 From: disheng Date: Wed, 13 Nov 2024 20:09:41 +0800 Subject: [PATCH] Added assertion for empty foreign key constraints --- ibis-server/tests/routers/v2/connector/test_snowflake.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ibis-server/tests/routers/v2/connector/test_snowflake.py b/ibis-server/tests/routers/v2/connector/test_snowflake.py index d9d4d72b4..fdd436919 100644 --- a/ibis-server/tests/routers/v2/connector/test_snowflake.py +++ b/ibis-server/tests/routers/v2/connector/test_snowflake.py @@ -296,6 +296,9 @@ def test_metadata_list_constraints(): ) assert response.status_code == 200 + result = response.json() + assert len(result) == 0 + def test_metadata_get_version(): response = client.post( url=f"{base_url}/metadata/version",