From 7dfefa1e431fa43632b46233e24c8cbcecd0462d Mon Sep 17 00:00:00 2001 From: cbellot Date: Mon, 26 Jun 2023 08:13:55 +0200 Subject: [PATCH] fix print prop field --- tests/test_propertyfield.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_propertyfield.py b/tests/test_propertyfield.py index 5d4733ca03..b2e85eb4bc 100644 --- a/tests/test_propertyfield.py +++ b/tests/test_propertyfield.py @@ -246,7 +246,9 @@ def test_print_property_field(server_type): pfield.data = [1, 2, 4, 6, 7] print(pfield) assert "Property Field" in str(pfield) - assert "5 Nodal entities" in str(pfield) + assert "5" in str(pfield) + assert "Nodal" in str(pfield) + assert "entities" in str(pfield) assert "1 components and 5 elementary data" in str(pfield)