diff --git a/pelicun/tests/model/test_damage_model.py b/pelicun/tests/model/test_damage_model.py index ba7482acb..fcd2b8465 100644 --- a/pelicun/tests/model/test_damage_model.py +++ b/pelicun/tests/model/test_damage_model.py @@ -620,6 +620,7 @@ def test__prepare_dmg_quantities(self, assessment_instance): ('A', '0', '1', '0', '1'): [-1, 0, 1, 2, 3], # block 1 ('A', '0', '1', '0', '2'): [3, -1, 0, 1, 2], # block 2 }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid', 'block']) component_sample = pd.DataFrame( @@ -666,6 +667,7 @@ def test__prepare_dmg_quantities(self, assessment_instance): { ('A', '0', '1', '0', '1'): [-1, 0, 1, 2, 3], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid', 'block']) component_sample = pd.DataFrame( @@ -705,6 +707,7 @@ def test__prepare_dmg_quantities(self, assessment_instance): ('A', '0', '1', '0', '1'): [-1, 0], ('A', '0', '1', '1', '1'): [1, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid', 'block']) component_sample = pd.DataFrame( @@ -761,6 +764,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.B": {"DS1": "CMP.A_DS4"}} @@ -776,6 +780,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -790,6 +795,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.B": {"DS1": "CMP.A_NA"}} @@ -805,6 +811,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -821,6 +828,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '2', '1', '0'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.B-LOC": {"DS1": "CMP.A_DS4"}} @@ -836,6 +844,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '2', '1', '0'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -853,6 +862,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.C', '1', '1', '0'): [0, 0, 0], ('CMP.D', '1', '1', '0'): [0, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.A": {"DS1": "ALL_DS2"}} @@ -868,6 +878,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.C', '1', '1', '0'): [2, 0, 0], ('CMP.D', '1', '1', '0'): [2, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -884,6 +895,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.B": {"DS1": "CMP.A_NA"}} @@ -899,6 +911,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '1', '1', '1'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -913,6 +926,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '2', '1', '0'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.B-LOC": {"DS1": "CMP.A_NA"}} @@ -928,6 +942,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.B', '1', '1', '0'): [0, 0, 1], ('CMP.B', '2', '1', '0'): [1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -944,6 +959,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.C', '1', '1', '0'): [0, 0, 0], ('CMP.C', '2', '1', '0'): [0, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.A-LOC": {"DS1": "ALL_NA"}} @@ -961,6 +977,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.C', '1', '1', '0'): [0, 0, -1], ('CMP.C', '2', '1', '0'): [-1, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']), ) @@ -972,6 +989,7 @@ def test__perform_dmg_task(self, assessment_instance): ('CMP.A', '1', '1', '0'): [0, 0, 0], ('CMP.B', '1', '1', '1'): [0, 0, 0], }, + dtype='int32', ).rename_axis(columns=['cmp', 'loc', 'dir', 'uid']) dmg_process = {"1_CMP.C": {"DS1": "CMP.A_DS4"}}