Remove time.time mock from test_ssh
Remove time.time mock from test_ssh

The function time.time is used in many places and especially in logging.
Mocking this function causes issues if the log level changes due to the
fact that every log message will cause a time.time call.

Splitting the test cases into 3 pieces since the time.sleep mock is
only usable for the good case. All tests with retries can't use it
and need to assert the result by measuring the time.

This fix is needed to use oslotest for tempest unit tests.

Change-Id: I800690f8ee1ee580cfcd71500b86782ff571ac0d
Closes-bug: bug 1320482

cisco-openstack/tempest,JioCloud/tempest,vmahuli/tempest,bigswitch/tempest,nunogt/tempest,Tesora/tesora-tempest,manasi24/tempest,hayderimran7/tempest,Vaidyanath/tempest,rzarzynski/tempest,rakeshmi/tempest,masayukig/tempest,vedujoshi/os_tempest,yamt/tempest,dkalashnik/tempest,jaspreetw/tempest,afaheem88/tempest_neutron,cloudbase/lis-tempest,tudorvio/tempest,ebagdasa/tempest,Lilywei123/tempest,vedujoshi/tempest,Juniper/tempest,xbezdick/tempest,NexusIS/tempest,redhat-cip/tempest,rakeshmi/tempest,xbezdick/tempest,jaspreetw/tempest,flyingfish007/tempest,Tesora/tesora-tempest,tonyli71/tempest,LIS/lis-tempest,jamielennox/tempest,Mirantis/tempest,vmahuli/tempest,zsoltdudas/lis-tempest,pczerkas/tempest,vedujoshi/os_tempest,varunarya10/tempest,CiscoSystems/tempest,manasi24/jiocloud-tempest-qatempest,alinbalutoiu/tempest,sebrandon1/tempest,eggmaster/tempest,danielmellado/tempest,flyingfish007/tempest,Mirantis/tempest,yamt/tempest,eggmaster/tempest,nunogt/tempest,cisco-openstack/tempest,akash1808/tempest,CiscoSystems/tempest,vedujoshi/tempest,bigswitch/tempest,tonyli71/tempest,pandeyop/tempest,izadorozhna/tempest,openstack/tempest,manasi24/tempest,queria/my-tempest,akash1808/tempest,roopali8/tempest,Lilywei123/tempest,neerja28/Tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,queria/my-tempest,Juraci/tempest,NexusIS/tempest,zsoltdudas/lis-tempest,JioCloud/tempest,afaheem88/tempest,Vaidyanath/tempest,pandeyop/tempest,ebagdasa/tempest,afaheem88/tempest_neutron,neerja28/Tempest,jamielennox/tempest,Juraci/tempest,tudorvio/tempest,afaheem88/tempest,rzarzynski/tempest,redhat-cip/tempest,sebrandon1/tempest,dkalashnik/tempest,pczerkas/tempest,Juniper/tempest,alinbalutoiu/tempest,varunarya10/tempest,masayukig/tempest,hayderimran7/tempest,danielmellado/tempest,hpcloud-mon/tempest,manasi24/jiocloud-tempest-qatempest,openstack/tempest,LIS/lis-tempest,roopali8/tempest,hpcloud-mon/tempest,cloudbase/lis-tempest,izadorozhna/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest