Replies: 1 comment
-
| That's not supported at the moment Parameters only ever go to the fixture they belong to | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I invoke
`
@fixture(scope="function")
def a(b):
yield b()
@fixture
def b(request):
yield lambda: request.param
@mark.parametrize('param', ["a"], indirect=True)
def test_a(a, param):
assert a==param
`
Got
'SubRequest' object has no attribute 'param'
How to transfer param from test_a to the b(throw a)?
Beta Was this translation helpful? Give feedback.
All reactions