Skip to content
Snippets Groups Projects
Commit efba44f9 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

py3: use bytes to build the remote destination in exchange tests

parent fd66ffb9
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
from . import (
BaseTestSuite,
bytes_me,
params_as_kwargs,
REPOS_DIR,
STRIP_VARIANTS_LIST,
......@@ -210,8 +211,8 @@
suffix = quote_plus(partial_id)
# We need to use the repo name here because the repo doesn't contains
# the hash
partial_name = '{}-partial-{}'.format(self.repo_name, suffix)
return os.path.join(REPOS_DIR, 'partial-references', partial_name)
partial_name = b'%s-partial-%s' % (self.repo_name, bytes_me(suffix))
return os.path.join(bytes_me(REPOS_DIR), b'partial-references', partial_name)
def teardown(self, *args, **kwargs):
self._teardown_repo_type()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment