def assert_soon(condition, message=None, max_tries=60):
 if (not wait_for(condition, max_tries=max_tries)):
  raise AssertionError((message or ''))

def assert_soon ( condition , message = None , max_tries = 60 ) : if ( not wait_for ( condition , max_tries = max_tries ) ) : raise AssertionError ( ( message or '' ) )
assert that a condition eventually evaluates to true after at most max_tries number of attempts .