From a967672cd0b240536b0349f4e7dd9f40f1ef633c Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Fri, 26 Apr 2019 10:47:17 +0200 Subject: [PATCH] move tests to a separate dir --- e2e/mock_e2e.sh | 2 +- e2e/{tests.py => tests/test_example.py} | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename e2e/{tests.py => tests/test_example.py} (97%) diff --git a/e2e/mock_e2e.sh b/e2e/mock_e2e.sh index 9f29a1ee6..a95558fe9 100755 --- a/e2e/mock_e2e.sh +++ b/e2e/mock_e2e.sh @@ -23,4 +23,4 @@ kind create cluster --name ${cluster_name} --config ./e2e/kind-config-multikind. export KUBECONFIG="$(kind get kubeconfig-path --name=${cluster_name})" kubectl cluster-info -./e2e/tests.py \ No newline at end of file +python3 -m unittest discover -s e2e/tests/ \ No newline at end of file diff --git a/e2e/tests.py b/e2e/tests/test_example.py similarity index 97% rename from e2e/tests.py rename to e2e/tests/test_example.py index 253872670..859c87cd9 100755 --- a/e2e/tests.py +++ b/e2e/tests/test_example.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 import unittest from kubernetes import client, config