]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
test_openstack: misc.sh() is now called with -q 942/head
authorDan Mick <dan.mick@redhat.com>
Fri, 26 Aug 2016 22:20:28 +0000 (15:20 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 26 Aug 2016 22:20:28 +0000 (15:20 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/openstack/test/test_openstack.py

index df778ba1955518e8c84bfd2cf9b81ef1369e8836..3c9155e2544da841488df0081aeb6aec50d812c5 100644 (file)
@@ -293,7 +293,7 @@ class TestOpenStack(object):
         assert 'OS_TOKEN' not in os.environ
         assert 'OS_TOKEN_EXPIRES' not in os.environ
         assert True == o.cache_token()
-        m_sh.assert_called_with('openstack token issue -c id -f value')
+        m_sh.assert_called_with('openstack -q token issue -c id -f value')
         assert 'v2token' == os.environ['OS_AUTH_TYPE']
         assert token == os.environ['OS_TOKEN']
         assert token == OpenStack.token
@@ -341,7 +341,7 @@ class TestOpenStack(object):
         token_expires = int(time.time()) - 2000
         os.environ['OS_TOKEN_EXPIRES'] = str(token_expires)
         assert True == o.cache_token()
-        m_sh.assert_called_with('openstack token issue -c id -f value')
+        m_sh.assert_called_with('openstack -q token issue -c id -f value')
         assert 'v2token' == os.environ['OS_AUTH_TYPE']
         assert token == os.environ['OS_TOKEN']
         assert token == OpenStack.token