From f44c8bd31dc9f3f0e400c3e74faed41f2e51d285 Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Wed, 25 Jan 2023 14:07:13 -0500 Subject: [PATCH] Add ska_helpers --- packages/ska_helpers/post_check_logs.py | 3 +++ packages/ska_helpers/test_unit.py | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 packages/ska_helpers/post_check_logs.py create mode 100644 packages/ska_helpers/test_unit.py diff --git a/packages/ska_helpers/post_check_logs.py b/packages/ska_helpers/post_check_logs.py new file mode 100644 index 0000000..5772116 --- /dev/null +++ b/packages/ska_helpers/post_check_logs.py @@ -0,0 +1,3 @@ +from testr.packages import check_files + +check_files('test_*.log', ['warning', 'error']) diff --git a/packages/ska_helpers/test_unit.py b/packages/ska_helpers/test_unit.py new file mode 100644 index 0000000..d72fe33 --- /dev/null +++ b/packages/ska_helpers/test_unit.py @@ -0,0 +1,2 @@ +import testr +testr.testr()