mirror of https://github.com/jumpserver/jumpserver
[Update] 更新定时测试管理用户可连接性 PERIOD_TASK_ENABLED 判断
parent
dc5598f8dc
commit
670e8afe76
|
@ -42,7 +42,7 @@ def test_admin_user_connectivity_period():
|
||||||
"""
|
"""
|
||||||
A period task that update the ansible task period
|
A period task that update the ansible task period
|
||||||
"""
|
"""
|
||||||
if const.PERIOD_TASK_ENABLED:
|
if not const.PERIOD_TASK_ENABLED:
|
||||||
logger.debug('Period task off, skip')
|
logger.debug('Period task off, skip')
|
||||||
return
|
return
|
||||||
key = '_JMS_TEST_ADMIN_USER_CONNECTIVITY_PERIOD'
|
key = '_JMS_TEST_ADMIN_USER_CONNECTIVITY_PERIOD'
|
||||||
|
|
Loading…
Reference in New Issue