From 5109cacd64420d09333cccf74e4bb450278221a2 Mon Sep 17 00:00:00 2001 From: dwest77a Date: Wed, 8 Jan 2025 10:55:04 +0000 Subject: [PATCH] Updated validate test, removal of subset bypass as a bare parameter" --- padocc/tests/test_validate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/padocc/tests/test_validate.py b/padocc/tests/test_validate.py index f768c15..03a1b65 100644 --- a/padocc/tests/test_validate.py +++ b/padocc/tests/test_validate.py @@ -1,5 +1,7 @@ from padocc.operations import GroupOperation +from padocc.core.utils import BypassSwitch + WORKDIR = 'padocc/tests/auto_testdata_dir' class TestValidate: @@ -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