From 218af8732f39cb5e129be8bdb9c7ae4a8e9f6067 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Sat, 18 Feb 2017 18:25:57 -0500 Subject: Unset exec bit in tests, add missing requirements was: separate lib_ unit tests from other unit tests --- requirements.txt | 1 + roles/lib_openshift/src/test/unit/test_oadm_manage_node.py | 0 roles/lib_openshift/src/test/unit/test_oc_env.py | 0 roles/lib_openshift/src/test/unit/test_oc_label.py | 0 roles/lib_openshift/src/test/unit/test_oc_process.py | 0 roles/lib_openshift/src/test/unit/test_oc_route.py | 0 roles/lib_openshift/src/test/unit/test_oc_scale.py | 0 roles/lib_openshift/src/test/unit/test_oc_secret.py | 0 roles/lib_openshift/src/test/unit/test_oc_service.py | 0 roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py | 0 roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py | 0 roles/lib_openshift/src/test/unit/test_oc_version.py | 0 roles/lib_utils/src/test/unit/test_repoquery.py | 0 roles/lib_utils/src/test/unit/test_yedit.py | 0 setup.cfg | 1 - test-requirements.txt | 1 + 16 files changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oadm_manage_node.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_env.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_label.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_process.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_route.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_scale.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_secret.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_service.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py mode change 100755 => 100644 roles/lib_openshift/src/test/unit/test_oc_version.py mode change 100755 => 100644 roles/lib_utils/src/test/unit/test_repoquery.py mode change 100755 => 100644 roles/lib_utils/src/test/unit/test_yedit.py diff --git a/requirements.txt b/requirements.txt index 8f47033f8..5a6a161cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ ansible>=2.2 six pyOpenSSL PyYAML +ruamel.yaml diff --git a/roles/lib_openshift/src/test/unit/test_oadm_manage_node.py b/roles/lib_openshift/src/test/unit/test_oadm_manage_node.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_env.py b/roles/lib_openshift/src/test/unit/test_oc_env.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_label.py b/roles/lib_openshift/src/test/unit/test_oc_label.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_process.py b/roles/lib_openshift/src/test/unit/test_oc_process.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_route.py b/roles/lib_openshift/src/test/unit/test_oc_route.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_scale.py b/roles/lib_openshift/src/test/unit/test_oc_scale.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_secret.py b/roles/lib_openshift/src/test/unit/test_oc_secret.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_service.py b/roles/lib_openshift/src/test/unit/test_oc_service.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py b/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py b/roles/lib_openshift/src/test/unit/test_oc_serviceaccount_secret.py old mode 100755 new mode 100644 diff --git a/roles/lib_openshift/src/test/unit/test_oc_version.py b/roles/lib_openshift/src/test/unit/test_oc_version.py old mode 100755 new mode 100644 diff --git a/roles/lib_utils/src/test/unit/test_repoquery.py b/roles/lib_utils/src/test/unit/test_repoquery.py old mode 100755 new mode 100644 diff --git a/roles/lib_utils/src/test/unit/test_yedit.py b/roles/lib_utils/src/test/unit/test_yedit.py old mode 100755 new mode 100644 diff --git a/setup.cfg b/setup.cfg index 0b0b18beb..d8e2bc609 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,6 @@ tests=roles/lib_openshift/src/test/unit, roles/lib_utils/src/test/unit, roles/openshift_master_facts/test, test -exe=1 # TODO(rhcarvalho): unset executable bits in test files and remove this verbosity=2 with-coverage=1 cover-html=1 diff --git a/test-requirements.txt b/test-requirements.txt index 2ee1e657d..8bfc1b594 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,3 +9,4 @@ PyYAML yamllint nose coverage +mock -- cgit v1.2.3