Skip to content

Commit

Permalink
fix history id (fixes allure-framework#415 via allure-framework#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
sseliverstov authored Sep 4, 2019
1 parent e9080a6 commit e62cea8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions allure-pytest/src/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ def pytest_runtest_setup(self, item):
test_result.name = allure_name(item, params)
full_name = allure_full_name(item)
test_result.fullName = full_name
test_result.historyId = md5(item.nodeid)
test_result.testCaseId = md5(full_name)
test_result.historyId = md5(item.name)
test_result.description = allure_description(item)
test_result.descriptionHtml = allure_description_html(item)
test_result.fullName = allure_full_name(item)
test_result.parameters.extend(
[Parameter(name=name, value=represent(value)) for name, value in params.items()])

Expand Down

0 comments on commit e62cea8

Please sign in to comment.