def METHOD_NAME(suite):
    fixture = suite.slashconf.add_fixture(name='test_my_fixture')
    suite[-1].depend_on_fixture(fixture)
    for test in suite:
        test.expect_deselect()
    summary = suite.run(expect_session_errors=True)
    assert not summary.ok()
    for output in [summary.get_console_output(),
                   str(summary.session.results.global_result.get_errors()[0])]:
        assert 'Invalid fixture name' in output