Upgrade available Python SDL version to 3.0.0
[ric-plt/xapp-frame-py.git] / tests / test_sdl.py
index 06c17c2..14b408b 100644 (file)
@@ -139,7 +139,7 @@ def test_sdl_set_and_publish_with_handle_events():
         # test is cb called
         CALLED = True
         assert channel == CH
-        assert event == EVENT
+        assert event[0] == EVENT
 
     sdl = SDLWrapper(use_fake_sdl=True)
     sdl.subscribe_channel(NS, cb, "channel")
@@ -193,7 +193,7 @@ def test_sdl_remove_and_publish_with_start_event_listener():
         nonlocal CALLED
         CALLED = True
         assert channel == CH
-        assert event == EVENT
+        assert event[0] == EVENT
 
     sdl = SDLWrapper(use_fake_sdl=True)
     sdl.subscribe_channel(NS, cb, "channel")