From 9317e51f20befb0e6c391432c5d211cc1b736489 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 8 Nov 2023 18:26:37 -0500 Subject: [PATCH] add yaml helper script; refactor python testing --- pyci.sh | 4 ++++ salt/manager/tools/sbin/so-yaml_test.py | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/pyci.sh b/pyci.sh index b0e48cf98..e85287063 100755 --- a/pyci.sh +++ b/pyci.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. if [[ $# -ne 1 ]]; then echo "Usage: $0 " diff --git a/salt/manager/tools/sbin/so-yaml_test.py b/salt/manager/tools/sbin/so-yaml_test.py index 3505e8d30..7e03da9d0 100644 --- a/salt/manager/tools/sbin/so-yaml_test.py +++ b/salt/manager/tools/sbin/so-yaml_test.py @@ -1,3 +1,8 @@ +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. + from io import StringIO import sys from unittest.mock import patch, MagicMock