-
Notifications
You must be signed in to change notification settings - Fork 241
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
BUG - Breaking change with allure.title annotations in 2.8.24 #536
Comments
@FerdinandNell can you show test code (only decorators without test body) ? |
Tried this code, working as intended 🤔 import allure
import unittest
class Test(unittest.TestCase):
@classmethod
def setUpClass(cls):
pass
def setUp(self):
pass
@allure.title('Titled test - test')
def test_test(self):
pass |
python 3.8.5 test_trial.py:
testdata.py:
|
Cannot reproduce. Regarding @devawpshko example, please, note, that starting from 2.8.23 I leave this issue open for a couple of weeks just in case someone will provide feedback. |
I'm submitting a ...
What is the current behavior?
allure-pytest 2.8.24 is causing the following to happen during pytest execution:
.pyenv-usr-local-bin-python3/lib/python3.9/site-packages/allure_pytest/helper.py:19: in decorator
function.allure_display_name = test_title
AttributeError: 'NoneType' object has no attribute 'allure_display_name'
-- Have removed the @allure.title("erfde") annotations from the tests and tried again but its still doing the same thing.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: