From e6fad2edc51818a4625732cb32f13038e0b53de1 Mon Sep 17 00:00:00 2001 From: David Grayston Date: Wed, 20 Nov 2024 14:58:42 +0000 Subject: [PATCH] test: Assert event type is resolved to correct entity --- tests/Functional/Resources/Simulations/test_SimulationsClient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Functional/Resources/Simulations/test_SimulationsClient.py b/tests/Functional/Resources/Simulations/test_SimulationsClient.py index e3d6382..27e222c 100644 --- a/tests/Functional/Resources/Simulations/test_SimulationsClient.py +++ b/tests/Functional/Resources/Simulations/test_SimulationsClient.py @@ -226,6 +226,7 @@ def test_create_simulation_uses_expected_entity_payload( ): entity_data = ReadsFixtures.read_json_fixture(f"payload/{event_type}") payload = SimulationEntity.from_dict_for_event_type(entity_data, event_type) + assert payload.__class__.__name__ == entity_name operation = CreateSimulation( notification_setting_id="ntfset_01j82d983j814ypzx7m1fw2jpz",