summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2025-04-17 06:50:24 +1000
committerGitHub <noreply@github.com>2025-04-17 06:50:24 +1000
commit46838054d25bb3e8fcc8210a6433ae788bfa3d12 (patch)
tree1ade0d73e0ea407b8d19e6a53a4fb3fd2a41d2cb /tests/unit
parenta491f22a733b20479078abaecef1c575738601a4 (diff)
downloadvyos.vyos-main.tar.gz
vyos.vyos-main.zip
TestModule profile patch (#414)HEADmain
* TestModule profile patch * changelog * linter fix
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/modules/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/modules/utils.py b/tests/unit/modules/utils.py
index 6489f13f..e2d17abd 100644
--- a/tests/unit/modules/utils.py
+++ b/tests/unit/modules/utils.py
@@ -20,6 +20,9 @@ def set_module_args(args):
args = json.dumps({"ANSIBLE_MODULE_ARGS": args})
basic._ANSIBLE_ARGS = to_bytes(args)
+ profile = "legacy"
+ basic._ANSIBLE_PROFILE = profile
+
class AnsibleExitJson(Exception):
pass