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
Add alarm API module ricxappframe.alarm.alarm
[ric-plt/xapp-frame-py.git]
/
tests
/
test_init.py
diff --git
a/tests/test_init.py
b/tests/test_init.py
index
1e05455
..
0e2bdcd
100644
(file)
--- a/
tests/test_init.py
+++ b/
tests/test_init.py
@@
-16,7
+16,7
@@
# ==================================================================================
import time
import pytest
# ==================================================================================
import time
import pytest
-from rmr.exceptions import InitFailed
+from r
icxappframe.r
mr.exceptions import InitFailed
from ricxappframe.xapp_frame import Xapp, RMRXapp
from ricxappframe.xapp_frame import Xapp, RMRXapp
@@
-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()