Fix tempest gate, add tempest import to our script
Change-Id: I0c3094c724b0c72fe79fb38ce628c808620be03a
This commit is contained in:
parent
64b0a2fceb
commit
5c6f521780
|
@ -32,5 +32,8 @@ MISTRALCLIENT_DIR=/opt/stack/new/python-mistralclient
|
|||
# Define PYTHONPATH
|
||||
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR
|
||||
|
||||
#installing requirements for tempest
|
||||
pip install -r $TEMPEST_DIR/requirements.txt
|
||||
|
||||
pwd
|
||||
nosetests -sv mistral/tests/functional/
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
# under the License.
|
||||
|
||||
from tempest import test
|
||||
from tempest_lib import decorators
|
||||
from tempest_lib import exceptions
|
||||
|
||||
from mistral.tests.functional import base
|
||||
|
@ -467,7 +468,7 @@ class CronTriggerTestsV2(base.TestCase):
|
|||
self.client.create_cron_trigger,
|
||||
tr_name, '5 * * * *', self.wf_name)
|
||||
|
||||
@test.skip_because(bug="1383146")
|
||||
@decorators.skip_because(bug="1383146")
|
||||
@test.attr(type='negative')
|
||||
def test_create_two_cron_triggers_with_same_pattern(self):
|
||||
self.client.create_trigger(
|
||||
|
|
Loading…
Reference in New Issue