tests: fix hg stream test

This commit is contained in:
RhodeCode Admin 2025-12-30 09:56:50 +01:00
parent a78d2157a2
commit 273165dc92

View file

@ -54,8 +54,8 @@ class TestVCSOperationsHg(object):
def test_clone_hg_repo_by_admin_pull_stream_protocol(self, rcstack, tmpdir):
clone_url = rcstack.repo_clone_url(HG_REPO)
stdout, stderr = Command(tmpdir.strpath).execute("hg clone --pull --stream", clone_url, tmpdir.strpath)
assert "files to transfer," in stdout
assert "transferred 1." in stdout
assert "225 files to transfer," in stdout
assert "stream-cloned 225 files / 1.04 MB" in stdout
assert "114 files updated," in stdout
def test_clone_hg_repo_by_id_by_admin(self, rcstack, tmpdir):