From f83593529f21f618392b7e37db43c6c33d018cd1 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Tue, 17 May 2016 14:05:58 +0200 Subject: [PATCH] Homogenize LMA collector test cases Change-Id: Iba83b4eb39a9d7b22ff8882778b4eecfa6982167 --- stacklight_tests/lma_collector/test_smoke_bvt.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/stacklight_tests/lma_collector/test_smoke_bvt.py b/stacklight_tests/lma_collector/test_smoke_bvt.py index 7f3d804..d9e6699 100644 --- a/stacklight_tests/lma_collector/test_smoke_bvt.py +++ b/stacklight_tests/lma_collector/test_smoke_bvt.py @@ -13,7 +13,6 @@ # under the License. from fuelweb_test.helpers.decorators import log_snapshot_after_test -from fuelweb_test.tests import base_test_case from proboscis import test from stacklight_tests.lma_collector import api @@ -23,18 +22,18 @@ from stacklight_tests.lma_collector import api class TestLMACollectorPlugin(api.LMACollectorPluginApi): """Class for smoke testing the LMA Collector plugin.""" - @test(depends_on=[base_test_case.SetupEnvironment.prepare_slaves_3], + @test(depends_on_groups=["prepare_slaves_3"], groups=["install_lma_collector", "install", "lma_collector", "smoke"]) @log_snapshot_after_test - def install_lma_collector_plugin(self): - """Install LMA Collector plugin and check it exists + def install_lma_collector(self): + """Install the LMA Collector plugin Scenario: - 1. Upload plugin to the master node - 2. Install plugin - 3. Create cluster - 4. Check that plugin exists + 1. Upload the LMA Collector plugin to the master node + 2. Install the plugin + 3. Create a cluster + 4. Check that the plugin can be enabled Duration 20m """