Ignore multiple whitespace in tftest directives
This commit is contained in:
parent
aba14fe574
commit
aaacee2a70
|
@ -16,9 +16,9 @@ import re
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
BASE_PATH = Path(__file__).parent
|
BASE_PATH = Path(__file__).parent
|
||||||
COUNT_TEST_RE = re.compile(r'# tftest modules=(\d+) resources=(\d+)' +
|
COUNT_TEST_RE = re.compile(r'# tftest +modules=(\d+) +resources=(\d+)' +
|
||||||
r'(?: files=([\w,-.]+))?' +
|
r'(?: +files=([\w,-.]+))?' +
|
||||||
r'(?: inventory=([\w\-.]+))?')
|
r'(?: +inventory=([\w\-.]+))?')
|
||||||
|
|
||||||
|
|
||||||
def test_example(plan_validator, tmp_path, example):
|
def test_example(plan_validator, tmp_path, example):
|
||||||
|
|
Loading…
Reference in New Issue