Switch to side-by-side view
--- a/Allura/allura/tests/test_helpers.py +++ b/Allura/allura/tests/test_helpers.py @@ -153,3 +153,9 @@ assert artifact.value == 'changed' assert len(AuditLogMock.logs) == 1 assert AuditLogMock.logs[0] == 'updated value' + + +def test_get_tool_package(): + assert h.get_tool_package('tickets') == 'forgetracker' + assert h.get_tool_package('Wiki') == 'forgewiki' + assert h.get_tool_package('wrong_tool') == ''