Code Review
/
ric-plt
/
xapp-frame-py.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade available Python SDL version to 3.0.0
[ric-plt/xapp-frame-py.git]
/
tests
/
test_sdl.py
diff --git
a/tests/test_sdl.py
b/tests/test_sdl.py
index
06c17c2
..
14b408b
100644
(file)
--- 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
# 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")
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
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")
sdl = SDLWrapper(use_fake_sdl=True)
sdl.subscribe_channel(NS, cb, "channel")