Fix tempest gate, add tempest import to our script

Change-Id: I0c3094c724b0c72fe79fb38ce628c808620be03a
This commit is contained in:
Anastasia Kuznetsova 2015-02-10 19:30:49 +04:00
parent 64b0a2fceb
commit 5c6f521780
2 changed files with 5 additions and 1 deletions

View File

@ -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/

View File

@ -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(