Assert the absolute URL of the browser contains the provided.

def url_should_contain(self, url):
    """Assert the absolute URL of the browser contains the provided."""

    if url not in world.browser.current_url:
        raise AssertionError(
            "Browser URL expected to contain {!r}, got {!r}.".format(
                url, world.browser.current_url))