Hi The problem is definitely in mock - some part of keystoneclient package is actually called (having a real api request) but it should be mocked instead. Unit test expects that keystoneclient.v2_0 is discovered, but we have something else instead. In latest rally version this unit test works fine (I've checked this right now). It is important to have real code available to make deeper investigation, since you use custom package rhos-cert-client/tests/rhcert/suites/openstack/ is based on rally code, but osclients.py significantly differs from its brother from rally project (according to line numbers from paste). Can you provide your modules osclients.py and test_osclients.py? On Fri, Jan 29, 2016 at 11:59 AM, Sudhir Verma <sverma at redhat.com> wrote: > Hi, > > I am running the rally test > https://github.com/openstack/rally/blob/master/tests/unit/test_osclients.py#L87 > there is a function "test_create_keystone_client_v2" > when i am testing that function i am getting an error i.e: > "keystoneclient.openstack.common.apiclient.exceptions.ConnectionRefused: > Unable to establish connection to http://auth_url" > > The error is: > http://paste.openstack.org/show/485380/ > > Thanks & Regards, > Sudhir Verma > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160129/c5a3be86/attachment.html>