Skip to content

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

Closed
tkratky wants to merge 1 commit into
allure-framework:masterfrom
tkratky:master
Closed

Do not call not existing start_feature method (fixes #629) #645
tkratky wants to merge 1 commit into
allure-framework:masterfrom
tkratky:master

Conversation

@tkratky

@tkratky tkratky commented Jan 14, 2022

Copy link
Copy Markdown

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

CLAassistant commented Jan 14, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@delatrie

delatrie commented May 6, 2025

Copy link
Copy Markdown
Contributor

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