X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Ftest_sdl.py;fp=tests%2Ftest_sdl.py;h=14b408bb3873bb8559cb7856ebb8c7bae2e63ec8;hb=581cf1ee882a6fd3b498cc04eccc1d6a18f30c73;hp=06c17c2cfdfcefd1c1e33f05bf8b0c73b5c92989;hpb=bac18952225035e44ae7672b81dacc2793944a16;p=ric-plt%2Fxapp-frame-py.git diff --git a/tests/test_sdl.py b/tests/test_sdl.py index 06c17c2..14b408b 100644 --- a/tests/test_sdl.py +++ b/tests/test_sdl.py @@ -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")