ITPLT-4737 Fix servicedesk absence assertion

This commit is contained in:
Lee Goolsbee
2026-09-04 11:45:23 -05:00
parent e263b3394c
commit 1efa7c6960

View File

@@ -51,5 +51,5 @@ def test_completed_lockfile(host):
def test_servicedesk_not_installed(host): def test_servicedesk_not_installed(host):
plugins = host.file('/media/atl/jira/shared/plugins/installed-plugins') plugins = host.file('/media/atl/jira/shared/plugins/installed-plugins')
assert (not plugins.exists) or ( assert (not plugins.exists) or all(
len(list(filter(lambda p: 'servicedesk' in p, jars))) == 0) 'servicedesk' not in plugin for plugin in plugins.listdir())