allure-framework / allure-python

Allure integrations for Python test frameworks
https://allurereport.org/
Apache License 2.0
713 stars 233 forks source link

When the version of behave is v1.2.7.dev5, an error will appear when running using allure_behave as the report formatter. #771

Closed gaomengsuijia closed 4 months ago

gaomengsuijia commented 9 months ago

When the version of behave is v1.2.7.dev5, an error will appear when running using allure_behave as the report formatter.

The following is the error log:

File "Lib\site-packages\allure_behave\listener.py", line 100, in stop_scenario
should_run = (scenario.should_run_with_tags(self.behave_config.tags) and

File "Lib\site-packages\behave\model_core.py", line 398, in should_run_with_tags
return tag_expression.check(self.effective_tags)

AttributeError: 'list' object has no attribute 'check'
lindaandiyani commented 7 months ago

I am having the same problem, how to solve it ? @gaomengsuijia