Homogenize LMA collector test cases

Change-Id: Iba83b4eb39a9d7b22ff8882778b4eecfa6982167
This commit is contained in:
Simon Pasquier 2016-05-17 14:05:58 +02:00
parent 5d426cabfe
commit f83593529f

View File

@ -13,7 +13,6 @@
# under the License. # under the License.
from fuelweb_test.helpers.decorators import log_snapshot_after_test from fuelweb_test.helpers.decorators import log_snapshot_after_test
from fuelweb_test.tests import base_test_case
from proboscis import test from proboscis import test
from stacklight_tests.lma_collector import api from stacklight_tests.lma_collector import api
@ -23,18 +22,18 @@ from stacklight_tests.lma_collector import api
class TestLMACollectorPlugin(api.LMACollectorPluginApi): class TestLMACollectorPlugin(api.LMACollectorPluginApi):
"""Class for smoke testing the LMA Collector plugin.""" """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", groups=["install_lma_collector", "install",
"lma_collector", "smoke"]) "lma_collector", "smoke"])
@log_snapshot_after_test @log_snapshot_after_test
def install_lma_collector_plugin(self): def install_lma_collector(self):
"""Install LMA Collector plugin and check it exists """Install the LMA Collector plugin
Scenario: Scenario:
1. Upload plugin to the master node 1. Upload the LMA Collector plugin to the master node
2. Install plugin 2. Install the plugin
3. Create cluster 3. Create a cluster
4. Check that plugin exists 4. Check that the plugin can be enabled
Duration 20m Duration 20m
""" """