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
Do not thread by default, but let the user choose.
[ric-plt/xapp-frame-py.git]
/
tests
/
test_init.py
diff --git
a/tests/test_init.py
b/tests/test_init.py
index
1e05455
..
5aa6bf1
100644
(file)
--- a/
tests/test_init.py
+++ b/
tests/test_init.py
@@
-57,6
+57,7
@@
def test_init_rmr_xapp():
pass
rmr_xapp = RMRXapp(foo, post_init=post_init, rmr_wait_for_ready=False, use_fake_sdl=True)
pass
rmr_xapp = RMRXapp(foo, post_init=post_init, rmr_wait_for_ready=False, use_fake_sdl=True)
- rmr_xapp.run()
+ # pytest will never return without thread and stop
+ rmr_xapp.run(thread=True)
time.sleep(1)
time.sleep(1)
- rmr_xapp.stop()
# pytest will never return without this.
+ rmr_xapp.stop()