UT: Add test for create_daemon_thread()

This commit is contained in:
Mike Salvatore 2022-01-23 19:37:52 -05:00
parent ce4c0188c2
commit f8ea2e06ac
1 changed files with 6 additions and 0 deletions

View File

@ -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