Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pytest / testing / example_scripts / unittest / test_parametrized_fixture_error_message.py
Size: Mime:
import unittest

import pytest


@pytest.fixture(params=[1, 2])
def two(request):
    return request.param


@pytest.mark.usefixtures("two")
class TestSomethingElse(unittest.TestCase):
    def test_two(self):
        pass