Always use the Windows version of splitdrive when parsing volume mappings

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2016-05-12 17:38:41 -07:00
commit db0a6cf2bb
2 changed files with 2 additions and 3 deletions

View file

@ -2658,8 +2658,6 @@ class ExpandPathTest(unittest.TestCase):
class VolumePathTest(unittest.TestCase):
@pytest.mark.xfail((not IS_WINDOWS_PLATFORM), reason='does not have a drive')
def test_split_path_mapping_with_windows_path(self):
host_path = "c:\\Users\\msamblanet\\Documents\\anvil\\connect\\config"
windows_volume_path = host_path + ":/opt/connect/config:ro"