Refactor secret manager module (#3315)
* wip * wip * wip * wip * tested, missing versions * working * fix secops stage * readme * tests * tflint
This commit is contained in:
committed by
GitHub
parent
c1e8f9d70c
commit
63a22cd9a2
@@ -14,6 +14,8 @@
|
||||
"""Pytest configuration for testing code examples."""
|
||||
|
||||
import collections
|
||||
import os
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
import marko
|
||||
@@ -68,6 +70,9 @@ def pytest_generate_tests(metafunc, test_group='example',
|
||||
continue
|
||||
if directive and not filter_tests(directive.args):
|
||||
continue
|
||||
if os.environ.get(
|
||||
'TERRAFORM') == 'tofu' and 'skip-tofu' in directive.args:
|
||||
continue
|
||||
if child.lang in ('hcl', 'tfvars'):
|
||||
path = module.relative_to(FABRIC_ROOT)
|
||||
name = f'{path}:{last_header}'
|
||||
|
||||
Reference in New Issue
Block a user