Skip to content

Commit 660d19f

Browse files
authored
test(doctest): loosen requirements on expected spec prints (#2797)
1 parent 6c33906 commit 660d19f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ansys/dpf/core/operator_specification.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def properties(self) -> dict:
334334
>>> from ansys.dpf import core as dpf
335335
>>> operator = dpf.operators.math.add()
336336
>>> operator.specification.properties
337-
{'category': 'math', 'exposure': 'public', 'plugin': 'core', 'user_name': '+'}
337+
{'category': '...', 'exposure': '...', 'plugin': '...', 'user_name': '...'}
338338
"""
339339
if self._properties is None:
340340
temp_properties = dict()
@@ -386,8 +386,8 @@ def inputs(self) -> dict[int, PinSpecification]:
386386
>>> 4 in operator.specification.inputs.keys()
387387
True
388388
>>> operator.specification.inputs[4]
389-
PinSpecification(name='data_sources', _type_names=['data_sources'], ...set', ellipsis=False,
390-
name_derived_class='', aliases=[...])
389+
PinSpecification(name='...', _type_names=[...], ...,
390+
name_derived_class=..., aliases=[...])
391391
"""
392392
if self._map_input_pin_spec is None:
393393
self._map_input_pin_spec = {}
@@ -407,8 +407,8 @@ def outputs(self) -> dict[int, PinSpecification]:
407407
>>> from ansys.dpf import core as dpf
408408
>>> operator = dpf.operators.mesh.mesh_provider()
409409
>>> operator.specification.outputs
410-
{0: PinSpecification(name='mesh', _type_names=['abstract_meshed_region'], ...=False,
411-
name_derived_class='', aliases=[...])}
410+
{0: PinSpecification(name='...', _type_names=[...], ...,
411+
name_derived_class=..., aliases=[...])}
412412
"""
413413
if self._map_output_pin_spec is None:
414414
self._map_output_pin_spec = {}

0 commit comments

Comments
 (0)