def url(should_be=None):
    """Like the default ``url()``, but can be called without arguments,
    in which case it returns the current url.
    """

    if should_be != None:
        return get_browser().get_url()
    else:
        return twill.commands.url(should_be)
dataset/ETHPy150Open ericholscher/django-test-utils/test_utils/utils/twill_runner.py/url/operator `is` -> `!=`