'Test parametrization with \'indirect\' parameter applied on
particular arguments. As y is is direct, its value should
be used directly rather than being passed to the fixture
y.
:param testdir: the instance of Testdir class, a temporary
test directory.'

@pytest.mark.issue714
def test_parametrize_indirect_list_functional(self, testdir):

    testdir.makepyfile("\n                                                import    pytest\n                                                @pytest.fixture(scope='function')\n                                                def    x(request):\n                                                                return    request.param    *    3\n                                                @pytest.fixture(scope='function')\n                                                def    y(request):\n                                                                return    request.param    *    2\n                                                @pytest.mark.parametrize('x,    y',    [('a',    'b')],    indirect=['x'])\n                                                def    test_simple(x,y):\n                                                                assert    len(x)    ==    3\n                                                                assert    len(y)    ==    1\n                                ")
    result = testdir.runpytest('-v')
    result.stdout.fnmatch_lines(['*test_simple*a-b*', '*1    passed*'])
