tavern icon indicating copy to clipboard operation
tavern copied to clipboard

Allow usage of marks with brakets

Open ChristophSchwenk opened this issue 6 months ago • 0 comments

We are using the pytest xdist plugin to run tavern tests in paralell. To assure certain tests are not running in parallel but in sequence we want to use the xdist --dist loadgroup feature. To do so we need to mark our tests with something like this:

@pytest.mark.xdist_group("group1") @pytest.mark.xdist_group("group2")

However it seems that tavern is not adding marks with brakets correctly.

Adding:

mark: - xdist_group("group1")

Seems not to have the wanted effect.

ChristophSchwenk avatar Jun 17 '25 13:06 ChristophSchwenk