def test_when_then(request):
    do_stuff_ = request.getfuncargvalue(get_step_fixture_name('I do stuff', WHEN))
    assert callable(do_stuff_)

    check_stuff_ = request.getfuncargvalue(get_step_fixture_name('I check stuff', THEN))
    assert callable(check_stuff_)
generate_thumbnail replaces old thumbnail.
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/steps/test_steps.py/test_when_then--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/upload/tests/test_tasks.py/GenerateThumbnail.test_generate_thumbnail_twice