diff --git a/tests/test_pagure_flask_ui_plugins_pagure_ci.py b/tests/test_pagure_flask_ui_plugins_pagure_ci.py index 2a2f2cd..d3416a6 100644 --- a/tests/test_pagure_flask_ui_plugins_pagure_ci.py +++ b/tests/test_pagure_flask_ui_plugins_pagure_ci.py @@ -110,7 +110,7 @@ class PagureFlaskPluginPagureCItests(tests.Modeltests): tests.create_projects_git(tests.HERE) - if pagure.APP.config.get('PAGURE_CI_SERVICES', None) is None: + if not pagure.APP.config.get('PAGURE_CI_SERVICES'): return # Activate hook