Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not call not existing start_feature method (fixes #629) #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tkratky
Copy link

@tkratky tkratky commented Jan 14, 2022

Context

Test execution using behave is failing with the latest (2.9.45) allure-behave version on the following error:

HOOK-ERROR in before_feature: AttributeError: 'AllureListener' object has no attribute 'start_feature'
  File "<project-path>/venv/lib/python3.9/site-packages/behave/runner.py", line 564, in run_hook
    self.hooks[name](context, *args)
  File "<project-path>/venv/lib/python3.9/site-packages/allure_behave/hooks.py", line 22, in hook
    allured(*args, **kwargs)
  File "<project-path>/venv/lib/python3.9/site-packages/allure_behave/hooks.py", line 53, in before_feature
    self.listener.start_feature()

#629

Checklist

@CLAassistant
Copy link

CLAassistant commented Jan 14, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants