-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressed
Description
Originally reported by: BitBucket: oxyry, GitHub: oxyry
#!python
import pytest
@pytest.fixture
def app(scope='session'):
print('fixture.app')
@pytest.fixture
def client(app):
print('fixture.client')
@pytest.fixture
@pytest.mark.usefixtures('client')
def user_tom():
print('user jessie')
def test_a(user_tom):
print('test_a')
assert False
In above code, 'client' fixture does not run, but it runs if put 'client' into user_tom()'s args list.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressed