Merge pull request #2181 from mnowster/2128-split-drive-not-handling-relative-paths
2128 split drive not handling relative paths
This commit is contained in:
commit
b9c76dfabd
2 changed files with 12 additions and 3 deletions
|
|
@ -463,7 +463,6 @@ class VolumeConfigTest(unittest.TestCase):
|
|||
self.assertEqual(d['volumes'], ['/home/me/otherproject:/data'])
|
||||
|
||||
@pytest.mark.skipif(not IS_WINDOWS_PLATFORM, reason='windows paths')
|
||||
@pytest.mark.skipif(IS_WINDOWS_PLATFORM, reason='waiting for this to be resolved: https://github.com/docker/compose/issues/2128')
|
||||
def test_relative_path_does_expand_windows(self):
|
||||
d = make_service_dict('foo', {'build': '.', 'volumes': ['./data:/data']}, working_dir='C:\\Users\\me\\myproject')
|
||||
self.assertEqual(d['volumes'], ['C:\\Users\\me\\myproject\\data:/data'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue