tempest/tempest/lib/common/utils
zhufl effafa3230 Get func.__class__.__name__ if no attribute __name__
In call_until_true, if func is wrapped with functools.partial,
getattr(func, '__name__') will get "AttributeError:
'functools.partial' object has no attribute '__name__'"

Now call_until_true supports args and kwargs that are passed
to func, so functools.partial is no longer needed, but it's
better for call_until_true to get func.__class__.__name__
if func has not attritube __name__.

Change-Id: Icc734e44af925655a31e7dcac04620352093cbeb
Closes-Bug: #1744210
2018-01-19 13:37:05 +08:00
..
linux Use wraps decorator 2017-12-28 07:50:42 +02:00
__init__.py Migrate tempest-lib code into new lib dir 2016-02-23 14:15:04 -05:00
data_utils.py Remove method get_ipv6_addr_by_EUI64 2017-10-11 17:42:04 +08:00
misc.py Introduce new helper: call_and_ignore_notfound_exc() 2016-05-28 15:46:46 +02:00
test_utils.py Get func.__class__.__name__ if no attribute __name__ 2018-01-19 13:37:05 +08:00