From f618895d1c1506fe2027c1c933b62324d18b05d7 Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Wed, 14 Jan 2015 14:39:51 +0300 Subject: [PATCH] New integration tests - base functional Features: * create node group templates * create cluster templates * create clusters * check cluster status * default templates for hdp and vanilla plugins Command for run tests: $ tox -e scenario partially implements bp: scenario-integration-tests Change-Id: Ief6aafff713520c972846aa45f0aaefd34ea1bd7 --- test-requirements.txt | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index 433d393..e1b4eda 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,6 +4,7 @@ hacking>=0.10.0,<0.11 +Mako>=0.4.0 MySQL-python bashate>=0.2 # Apache-2.0 coverage>=3.6 diff --git a/tox.ini b/tox.ini index 7e00b8a..a1d67bf 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,10 @@ setenv = DISCOVER_DIRECTORY=sahara/tests/integration commands = bash tools/pretty_tox.sh '{posargs}' +[testenv:scenario] +setenv = VIRTUALENV={envdir} +commands = python {toxinidir}/sahara/tests/scenario/runner.py "{posargs}" + [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}'