Skip to content

Commit

Permalink
Rename and move test for bug allure-framework#474
Browse files Browse the repository at this point in the history
  • Loading branch information
Duisus committed Jan 12, 2021
1 parent 382aed6 commit 765982e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.

This file was deleted.

6 changes: 6 additions & 0 deletions allure-pytest-bdd/test/attachments_tests/attachment_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ def test_failed_step_with_attachment():
@scenario("attachments_features\\attachment_in_called_fixture.feature", "Attachment in called fixture")
def test_attachment_in_called_fixture():
pass


@scenario("attachments_features\\attachment_in_step-fixture.feature",
"attachment in a step, that is also a fixture")
def test_attachment_in_step_fixture():
pass
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Feature: Bug #474
Scenario: allure.attach calling in function decorated with When and Pytest.fixture
Feature: Attachment

Scenario: attachment in a step, that is also a fixture
Given example.feature with content:
"""
Feature: Feature Test
Expand Down

0 comments on commit 765982e

Please sign in to comment.