forked from p15670423/monkey
UT: Add test for create_daemon_thread()
This commit is contained in:
parent
ce4c0188c2
commit
f8ea2e06ac
|
@ -0,0 +1,6 @@
|
|||
from infection_monkey.master.threading_utils import create_daemon_thread
|
||||
|
||||
|
||||
def test_create_daemon_thread():
|
||||
thread = create_daemon_thread(lambda: None)
|
||||
assert thread.daemon
|
Loading…
Reference in New Issue