Upgrade Watcher Tempest tests for multinode

Change-Id: I4b84ba9814227776232c8ab883cdaaf411930ee6
This commit is contained in:
Vincent Françoise
2016-04-11 16:05:51 +02:00
parent 1157a8db30
commit 77228a0b0a
6 changed files with 23 additions and 23 deletions

View File

@@ -18,8 +18,8 @@ from __future__ import unicode_literals
import functools
from tempest.lib import exceptions
from tempest import test
from tempest_lib import exceptions as lib_exc
from watcher_tempest_plugin.tests.api.admin import base
@@ -64,7 +64,7 @@ class TestCreateDeleteExecuteActionPlan(base.BaseInfraOptimTest):
self.client.delete_action_plan(action_plan['uuid'])
self.assertRaises(lib_exc.NotFound, self.client.show_action_plan,
self.assertRaises(exceptions.NotFound, self.client.show_action_plan,
action_plan['uuid'])
@test.attr(type='smoke')

View File

@@ -16,9 +16,9 @@
from __future__ import unicode_literals
from tempest.lib import decorators
from tempest.lib import exceptions
from tempest import test
from tempest_lib import decorators
from tempest_lib import exceptions as lib_exc
from watcher_tempest_plugin.tests.api.admin import base
@@ -70,7 +70,7 @@ class TestCreateUpdateDeleteAudit(base.BaseInfraOptimTest):
)
self.assertRaises(
lib_exc.BadRequest, self.create_audit, **audit_params)
exceptions.BadRequest, self.create_audit, **audit_params)
@decorators.skip_because(bug="1532843")
@test.attr(type='smoke')
@@ -83,7 +83,7 @@ class TestCreateUpdateDeleteAudit(base.BaseInfraOptimTest):
)
self.assertRaises(
lib_exc.BadRequest, self.create_audit, **audit_params)
exceptions.BadRequest, self.create_audit, **audit_params)
@decorators.skip_because(bug="1533210")
@test.attr(type='smoke')
@@ -113,7 +113,8 @@ class TestCreateUpdateDeleteAudit(base.BaseInfraOptimTest):
self.delete_audit(audit_uuid)
self.assertRaises(lib_exc.NotFound, self.client.show_audit, audit_uuid)
self.assertRaises(
exceptions.NotFound, self.client.show_audit, audit_uuid)
class TestShowListAudit(base.BaseInfraOptimTest):

View File

@@ -18,8 +18,8 @@ from __future__ import unicode_literals
import uuid
from tempest.lib import exceptions
from tempest import test
from tempest_lib import exceptions as lib_exc
from watcher_tempest_plugin.tests.api.admin import base
@@ -65,7 +65,7 @@ class TestCreateDeleteAuditTemplate(base.BaseInfraOptimTest):
self.delete_audit_template(audit_uuid)
self.assertRaises(lib_exc.NotFound, self.client.show_audit_template,
self.assertRaises(exceptions.NotFound, self.client.show_audit_template,
audit_uuid)