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