UT: Use IslandEventTopic enum's names for pypubsub topics

This commit is contained in:
Shreya Malviya 2022-09-06 18:13:25 +05:30
parent 004337583a
commit 5da8b424b5
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ def test_subscribe_publish(
assert event_queue_subscriber.call_count == 2
assert event_queue_subscriber.call_topics == {
IslandEventTopic.AGENT_CONNECTED.value,
IslandEventTopic.CLEAR_SIMULATION_DATA.value,
IslandEventTopic.AGENT_CONNECTED.name,
IslandEventTopic.CLEAR_SIMULATION_DATA.name,
}