changeset 49736:a804242050c4

path: pass `path` to `peer` in remotefilelog's tests We directly use the `path` object to build the `peer` object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Dec 2022 06:49:39 +0100
parents 8c6f783917e7
children 4cedae992ed1
files tests/remotefilelog-getflogheads.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/remotefilelog-getflogheads.py	Fri Dec 02 06:48:17 2022 +0100
+++ b/tests/remotefilelog-getflogheads.py	Fri Dec 02 06:49:39 2022 +0100
@@ -19,7 +19,7 @@
     Used for testing purpose
     """
 
-    dest = urlutil.get_unique_pull_path(b'getflogheads', repo, ui)[0]
+    dest = urlutil.get_unique_pull_path_obj(b'getflogheads', ui)
     peer = hg.peer(repo, {}, dest)
 
     try: