diff --git a/src/ansys/dpf/core/available_result.py b/src/ansys/dpf/core/available_result.py index 3b08784298..435fc7cea7 100644 --- a/src/ansys/dpf/core/available_result.py +++ b/src/ansys/dpf/core/available_result.py @@ -186,7 +186,7 @@ def homogeneity(self): @property def unit(self): """Unit of the result.""" - return self._unit.lower() + return self._unit @property def operator_name(self): diff --git a/tests/test_resultinfo.py b/tests/test_resultinfo.py index c6defa0b1a..0b59f368ef 100644 --- a/tests/test_resultinfo.py +++ b/tests/test_resultinfo.py @@ -100,7 +100,7 @@ def test_print_available_result_with_qualifiers(cfx_heating_coil, server_type): Number of components: 1 Dimensionality: scalar Homogeneity: specific_heat -Units: j/kg*k^-1 +Units: J/kg*K^-1 Location: Nodal Available qualifier labels:""" # noqa: E501 ref2 = "'phase': 2"