@pytest.fixture(autouse=True)
def _annotate_environment(request):
 environment = getattr(request.config, '_environment', None)
 if environment:
  behave_version = behave.__version__
  environment.append(('behave', behave_version))

@ pytest . fixture ( autouse = True ) def _annotate_environment ( request ) : environment = getattr ( request . config , '_environment' , None ) if environment : behave_version = behave . __version__ environment . append ( ( 'behave' , behave_version ) )
add project-specific information to test-run environment: * behave .