Fix intermittent test failure
Fix intermittent test failure

The mock needs to be initialized before calling main, or we get a race
to create it between all the uu_threads

Change-Id: If7649da13ed9276d7f0e005e999770e09c022a3f

sohonetlabs/python-swiftclient,openstack/python-swiftclient,sohonetlabs/python-swiftclient,openstack/python-swiftclient