def METHOD_NAME(self):
    o = base.Syncer(self.repo_path, "http://dar")
    assert o.uid == os.getuid()
    assert o.uri == "http://dar"
    o = base.Syncer(self.repo_path, f"http://{existing_user}::@site")
    assert o.uid == existing_uid
    assert o.uri == "http://site"
    o = base.Syncer(self.repo_path, f"http://{existing_user}::foon@site")
    assert o.uid == existing_uid
    assert o.uri == "http://foon@site"
    o = base.Syncer(self.repo_path, f"{existing_user}::foon@site")
    assert o.uid == existing_uid
    assert o.uri == "foon@site"
    with pytest.raises(base.MissingLocalUser):
        base.Syncer(self.repo_path, f"foo_nonexistent_user::foon@site")