Skip to content

Commit 5961ef3

Browse files
committed
Fix skip conditional
1 parent 5be2bb0 commit 5961ef3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ def return_ds(server=None):
329329
return return_ds
330330

331331

332+
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0 = meets_version(
333+
get_server_version(core._global_server()), "11.0"
334+
)
332335
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0 = meets_version(
333336
get_server_version(core._global_server()), "10.0"
334337
)

tests/test_python_plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
from conftest import (
4242
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0,
4343
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
44+
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0,
4445
)
4546

4647
if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0:
@@ -412,9 +413,8 @@ def test_custom_op_with_spec(server_type_remote_process, testfiles_dir):
412413

413414

414415
@pytest.mark.skipif(
415-
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0, reason="Gdc available for servers >=7.0"
416+
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0, reason="Available for servers >=11.0"
416417
)
417-
@conftest.raises_for_servers_version_under("11.0")
418418
def test_custom_op_changelog(server_type_remote_process, testfiles_dir):
419419
from packaging.version import Version
420420

0 commit comments

Comments
 (0)