Skip to content

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.

@delatrie
Copy link
Contributor

delatrie commented May 6, 2025

Fixed in #860

@delatrie delatrie closed this May 6, 2025
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.

4 participants