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:
Daniel Nephin 2015-10-14 11:04:42 -04:00
commit b9c76dfabd
2 changed files with 12 additions and 3 deletions

View file

@ -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'])