Skip to content

Duplicated pytest fixtures #695

@skhomuti

Description

@skhomuti

Here's an example - the first test has unexpected fixture from another test

@pytest.fixture
def fixture(request):
    with allure.step(request.node.name):
        pass


def test_first(fixture):
    pass


def test_second(fixture):
    pass

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Allure version: 2.1.0
  • Test framework: pytest@3.0
  • Allure adaptor: allure-pytest@2.11.0

Other information

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions