Skip to content

Commit cf10b0e

Browse files
committed
API calls only in enterprise
1 parent d17e103 commit cf10b0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
@pytest.mark.asyncio
5454
async def test_database_misc_methods(
55-
sys_db, db, bad_db, cluster, db_version, url, sys_db_name, token
55+
sys_db, db, bad_db, cluster, db_version, url, sys_db_name, token, enterprise
5656
):
5757
# Status
5858
status = await sys_db.status()
@@ -174,7 +174,7 @@ async def test_database_misc_methods(
174174
response = await sys_db.request(request)
175175
assert json.loads(response.raw_body) == 1
176176

177-
if db_version >= version.parse("3.12.0"):
177+
if enterprise and db_version >= version.parse("3.12.0"):
178178
# API calls
179179
with pytest.raises(ServerApiCallsError):
180180
await bad_db.api_calls()

0 commit comments

Comments
 (0)