def METHOD_NAME(suite, build_url):
    manager.install(Plugin(), is_internal=False)
    manager.activate('ci links')
    test = suite.add_test()
    test.when_run.fail()
    summary = suite.run()
    result = summary.get_all_results_for_test(test)[0]
    log_link = result.details.all().get('log_link')
    expected_log_link = '/'.join(
        (
            build_url.rstrip('/'),
            'artifact',
            *result.get_log_path().split(os.sep)
        )
    )
    assert log_link == expected_log_link