def fake_wait_for_ip(check_for_ip_fn, interval=None, timeout=None, interval_multiplier=None):
 assert isinstance(interval, int)
 assert isinstance(timeout, int)
 assert isinstance(interval_multiplier, int)
 return check_for_ip_fn()

def fake_wait_for_ip ( check_for_ip_fn , interval = None , timeout = None , interval_multiplier = None ) : assert isinstance ( interval , int ) assert isinstance ( timeout , int ) assert isinstance ( interval_multiplier , int ) return check_for_ip_fn ( )
callback that returns immediately instead of waiting .