Commit 672f0322 authored by Piotr Batko's avatar Piotr Batko
Browse files

Fix bug with accessing pytest.Package object in fixtures

It turned out, that `request` fixture might not contain required member
and needed information are provided in different location.

```
def __get_pytest_package_object(request) -> Optional[pytest.Package]:
        assert request.scope == 'package'

>       pytest_scope = request.node.items[0]
E       AttributeError: 'Package' object has no attribute 'items'
```
parent e69e610e
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment