mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
Perhaps fix this test on Windows
This commit is contained in:
parent
4a966a1591
commit
5b49fd5813
@ -1890,7 +1890,10 @@ class SingleMagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Reall
|
||||
@inline_callbacks
|
||||
def test_create_file_in_sub_directory(self):
|
||||
reldir_u = u'subdir'
|
||||
relpath_u = os.path.join(reldir_u, u'some-file')
|
||||
# Intentionally avoid doing a platform-respecting directory separator
|
||||
# here. _create_directory_with_file can deal with any separator.
|
||||
# _get_collective_latest_file requires exactly / as a separator.
|
||||
relpath_u = u'/'.join((reldir_u, u'some-file'))
|
||||
content = u'some great content'
|
||||
yield self._create_directory_with_file(
|
||||
relpath_u,
|
||||
|
Loading…
x
Reference in New Issue
Block a user