From f7e27a215e848da79ac6d5f4395e6c9d7df10f09 Mon Sep 17 00:00:00 2001 From: Paige Rubendall <64206430+paigerube14@users.noreply.github.com> Date: Fri, 19 Aug 2022 09:23:37 -0400 Subject: [PATCH] Move plugin tests (#289) * moving pytests * adding tests folder not under CI --- .github/workflows/build.yml | 2 +- {kraken/plugins => tests}/test_pod_plugin.py | 0 {kraken/plugins => tests}/test_run_python_plugin.py | 0 {kraken/plugins/vmware => tests}/test_vmware_plugin.py | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {kraken/plugins => tests}/test_pod_plugin.py (100%) rename {kraken/plugins => tests}/test_run_python_plugin.py (100%) rename {kraken/plugins/vmware => tests}/test_vmware_plugin.py (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30a24309..5bd32428 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: sudo apt-get install build-essential python3-dev pip install -r requirements.txt - name: Run unit tests - run: python -m unittest discover + run: python -m unittest discover -s tests - name: Run CI run: ./CI/run.sh - name: Build the Docker images diff --git a/kraken/plugins/test_pod_plugin.py b/tests/test_pod_plugin.py similarity index 100% rename from kraken/plugins/test_pod_plugin.py rename to tests/test_pod_plugin.py diff --git a/kraken/plugins/test_run_python_plugin.py b/tests/test_run_python_plugin.py similarity index 100% rename from kraken/plugins/test_run_python_plugin.py rename to tests/test_run_python_plugin.py diff --git a/kraken/plugins/vmware/test_vmware_plugin.py b/tests/test_vmware_plugin.py similarity index 100% rename from kraken/plugins/vmware/test_vmware_plugin.py rename to tests/test_vmware_plugin.py