Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable check for certain fixtures #27

Open
goodspark opened this issue Jul 14, 2019 · 1 comment
Open

Option to disable check for certain fixtures #27

goodspark opened this issue Jul 14, 2019 · 1 comment

Comments

@goodspark
Copy link

goodspark commented Jul 14, 2019

Because of issues similar to #21, it would be nice to have a comment we can use to disable/suppress errors for certain fixtures. Here's a minimal example:

@pytest.fixture
def blah():
  return 1

@pytest.fixture
def bloo():
  return 2

@pytest.fixture(params=["blah", "bloo"])
def both(request):
  return request.getfixturevalue(request.param)

def test_thing(both):
  print(both)
@anukul
Copy link

anukul commented Jan 17, 2023

@jllorencetti We are using a fork with a rudimentary implementation of this feature - rotki@87d2be8

If you're open to it, I'm happy to make a PR and work on adding this here! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants