From: Dan Mick Date: Fri, 26 Aug 2016 22:20:28 +0000 (-0700) Subject: test_openstack: misc.sh() is now called with -q X-Git-Tag: 1.1.0~542^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F942%2Fhead;p=teuthology.git test_openstack: misc.sh() is now called with -q Signed-off-by: Dan Mick --- diff --git a/teuthology/openstack/test/test_openstack.py b/teuthology/openstack/test/test_openstack.py index df778ba19..3c9155e25 100644 --- a/teuthology/openstack/test/test_openstack.py +++ b/teuthology/openstack/test/test_openstack.py @@ -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