def test_lazy_fixture_as_funcarg_in_parametrize_with_indirect(testdir):
    testdir.makepyfile("\n        import pytest\n        @pytest.fixture\n        def one():\n            return 1\n        @pytest.fixture\n        def two():\n            return 2\n        @pytest.fixture\n        def three(request):\n            return request.param\n        @pytest.mark.parametrize('arg1,arg2,three', [\n            (pytest.lazy_fixture('one'), pytest.lazy_fixture('two'), '3')\n        ], indirect=['three'])\n        def test_func(arg1, arg2, three):\n            assert arg1 == 1\n            assert arg2 == 2\n            assert three == '3'\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=1)
def test_lazy_fixture_as_funcarg_in_parametrize_with_indirect(testdir):
    testdir.makepyfile("\n        import pytest\n        @pytest.fixture\n        def one():\n            return 1\n        @pytest.fixture\n        def two():\n            return 2\n        @pytest.fixture\n        def three(request):\n            return request.param\n        @pytest.mark.parametrize('arg1,arg2,three', [\n            (pytest.lazy_fixture('one'), pytest.lazy_fixture('two'), '3')\n        ], indirect=['three'])\n        def test_func(arg1, arg2, three):\n            assert arg1 == 1\n            assert arg2 == 2\n            assert three == '3'\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=1)