Skip to content

Commit

Permalink
add test skip for older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-henriquezroa committed Jul 12, 2023
1 parent e7c4841 commit 08039d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_data_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ def test_unsupported_types_data_tree(server_type):
data_tree.add(data1=(1, 2))


@conftest.raises_for_servers_version_under("7.0")
@pytest.mark.skipif(
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0, reason="Available for servers >=7.0"
)
def test_list_attributes_data_tree(server_type):
data_tree = dpf.DataTree(server=server_type)
with data_tree.to_fill() as to_fill:
Expand Down

0 comments on commit 08039d3

Please sign in to comment.