def METHOD_NAME(self):
    endpoint, password = CosmosDBSQLBackend._parse_url(
        "cosmosdbsql://:key@host")
    assert password == "key"
    assert endpoint == "https://host:443"
    endpoint, password = CosmosDBSQLBackend._parse_url(
        "cosmosdbsql://:key@host:443")
    assert password == "key"
    assert endpoint == "https://host:443"
    endpoint, password = CosmosDBSQLBackend._parse_url(
        "cosmosdbsql://:key@host:8080")
    assert password == "key"
    assert endpoint == "http://host:8080"