def test_lazy_fixture_is_value_in_parametrize(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.mark.parametrize('arg1,arg2', [\n            pytest.lazy_fixture(('one', 'two'))\n        ])\n        def test_func(arg1, arg2):\n            assert arg1 == 1\n            assert arg2 == 2\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=1)
def test_lazy_fixture_is_value_in_parametrize(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.mark.parametrize('arg1,arg2', [\n            pytest.lazy_fixture(('one', 'two'))\n        ])\n        def test_func(arg1, arg2):\n            assert arg1 == 1\n            assert arg2 == 2\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=1)