Mock time.sleep() to decrease test duration 79/48679/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 12 Dec 2017 03:54:03 +0000 (04:54 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 12 Dec 2017 04:09:08 +0000 (05:09 +0100)
commit9a74aa7683d34e6954eb5d0bd54253935c975c59
tree07fb8f29eea4254c431cc6db7f7cc54fb3a1581c
parentdf6ee9b1222ebd81fa22ce3499e536abe7bcb05e
Mock time.sleep() to decrease test duration

It also returns None when getting floating ips after deleting them.
It now runs 40 tests in 0.084s.

Change-Id: If4b1032ab9890fd291d99beb57166ead8729d822
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/tests/unit/utils/test_openstack_clean.py