Skip to content

Commit

Permalink
Add vf_rules parametrized fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Sep 15, 2016
1 parent 9bd099a commit 0d4e5e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pytest_pootle/fixtures/models/vfolder.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
import pytest


VF_RULE_TESTS = [
"*",
"store.po",
"*/subdir0/*"]


@pytest.fixture(params=VF_RULE_TESTS)
def vf_rules(request):
return request.param


@pytest.fixture
def vfolder0():
from virtualfolder.models import VirtualFolder
Expand Down

0 comments on commit 0d4e5e7

Please sign in to comment.