summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-03-05 15:14:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-05 15:14:51 +0000
commit607dc8efc9c29bca257089c94226c1ff9b079a1f (patch)
treec933118781ef8f0c5fd05ad34599ed2350c1bbc7
parent52461860ac156ea729703535ff7e81b41e991108 (diff)
parent7ab40eb0d15d98fe963618f592e44fc653f6f16a (diff)
Merge "Remove run_sfc_tests.py from scripts"
-rw-r--r--setup.cfg2
-rw-r--r--sfc/tests/functest/run_sfc_tests.py8
2 files changed, 0 insertions, 10 deletions
diff --git a/setup.cfg b/setup.cfg
index 8e5f6230..edeeb5de 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,5 +5,3 @@ home-page = https://wiki.opnfv.org/display/sfc/Service+Function+Chaining+Home
[files]
packages = sfc
-scripts =
- sfc/tests/functest/run_sfc_tests.py
diff --git a/sfc/tests/functest/run_sfc_tests.py b/sfc/tests/functest/run_sfc_tests.py
index f779e2a3..a22d5fb2 100644
--- a/sfc/tests/functest/run_sfc_tests.py
+++ b/sfc/tests/functest/run_sfc_tests.py
@@ -11,7 +11,6 @@
import importlib
import os
import time
-import sys
import yaml
from xtesting.core import testcase
@@ -185,10 +184,3 @@ class SfcFunctest(testcase.TestCase):
return testcase.TestCase.EX_OK
return testcase.TestCase.EX_RUN_ERROR
-
-
-if __name__ == '__main__':
- logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s'
- '- %(levelname)s - %(message)s')
- SFC = SfcFunctest()
- sys.exit(SFC.run())