Skip to content

Commit

Permalink
Updated validate test, removal of subset bypass as a bare parameter"
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Jan 8, 2025
1 parent 449310c commit 5109cac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion padocc/tests/test_validate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from padocc.operations import GroupOperation

from padocc.core.utils import BypassSwitch

WORKDIR = 'padocc/tests/auto_testdata_dir'

class TestValidate:
Expand All @@ -12,7 +14,7 @@ def test_validate(self, workdir=WORKDIR):
label='test_validate',
verbose=1)

results = process.run('validate', forceful=True, subset_bypass=True)
results = process.run('validate', forceful=True, bypass=BypassSwitch('DS'))

assert results['Fatal'] == 2
assert results['Warning'] == 1
Expand Down

0 comments on commit 5109cac

Please sign in to comment.