Merge pull request #3316 from jumpserver/dev

Dev
This commit is contained in:
BaiJiangJie
2019-10-09 17:32:02 +08:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ def test_admin_user_connectivity_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')
return
key = '_JMS_TEST_ADMIN_USER_CONNECTIVITY_PERIOD'