From 54f393511081c662a375846fbee47e2ec36df5cb Mon Sep 17 00:00:00 2001 From: Peter Meisrimel Date: Thu, 14 Nov 2024 15:24:22 +0100 Subject: [PATCH] converting tests from latest changes on master --- tests/test_io.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_io.py b/tests/test_io.py index 9b632c27..25570c71 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -1821,7 +1821,6 @@ def test_get_variables_data_values2(self): for index, test_data in test_data_sets.items(): np.testing.assert_array_almost_equal(test_data['J4.phi'].x, reference_data[index]) - @testattr(stddist = True) def test_get_variables_data_values3(self): """ Verifying values from get_variables_data, and only asking for diagnostic variables. """ vars_to_test = ['@Diagnostics.step_time', '@Diagnostics.nbr_steps'] @@ -1848,7 +1847,6 @@ def test_get_variables_data_values3(self): np.testing.assert_array_almost_equal(test_data['@Diagnostics.step_time'].x, reference_data['@Diagnostics.step_time'][index]) np.testing.assert_array_almost_equal(test_data['@Diagnostics.nbr_steps'].x, reference_data['@Diagnostics.nbr_steps'][index]) - @testattr(stddist = True) def test_get_variables_data_values4(self): """ Verifying values from get_variables_data, partial trajectories and checking both time and diagnostic data.""" vars_to_test = ['time', '@Diagnostics.nbr_steps'] @@ -1875,7 +1873,6 @@ def test_get_variables_data_values4(self): np.testing.assert_array_almost_equal(test_data['time'].x, reference_data['time'][index]) np.testing.assert_array_almost_equal(test_data['@Diagnostics.nbr_steps'].x, reference_data['@Diagnostics.nbr_steps'][index]) - @testattr(stddist = True) def test_stop_index_near_bounds(self): """ Verify that we get expected results near the end of the result file, including stop_index out of range. @@ -1903,7 +1900,6 @@ def test_stop_index_near_bounds(self): np.array([0.37268813, 0.37194424, 0.37120184, 0.37046092, 0.36972148, 0.36898351])) - @testattr(stddist = True) def test_trajectory_lengths(self): """ Verify lengths of trajectories are expected for a bunch of different inputs. """ fmu = Dummy_FMUModelME2([], os.path.join(file_path, "files", "FMUs", "XML", "ME2.0", "bouncingBall.fmu"), _connect_dll=False)