Handle non-ascii chars in volume directories
Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
3c4bb5358e
commit
0375dccf64
2 changed files with 6 additions and 1 deletions
|
|
@ -575,6 +575,11 @@ class VolumeConfigTest(unittest.TestCase):
|
|||
}, working_dir='.')
|
||||
self.assertEqual(d['volumes'], ['~:/data'])
|
||||
|
||||
def test_volume_path_with_non_ascii_directory(self):
|
||||
volume = u'/Füü/data:/data'
|
||||
container_path = config.resolve_volume_path(volume, ".", "test")
|
||||
self.assertEqual(container_path, volume)
|
||||
|
||||
|
||||
class MergePathMappingTest(object):
|
||||
def config_name(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue