Open JakNowy opened 2 years ago
It would be awesome if we could have something like:
@pytest.mark.parametrize('db_object', [G(Model1), G(Model2)]) def test_foo(db_object): ...
Looks like there is some issue with the db init, would it be possible to make it work?
Bumping. It can be worked around with some if statements (ideally switch case in new python), but still pollutes the code notably.
It would be awesome if we could have something like:
Looks like there is some issue with the db init, would it be possible to make it work?