Make working_dir consistent in the config package.
- make it a positional arg, since it's required - make it the first argument for all functions that require it - remove an unnecessary one-line function that was only called in one place Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
67dc90ec0e
commit
0e19c92e82
2 changed files with 13 additions and 22 deletions
|
|
@ -577,7 +577,7 @@ class VolumeConfigTest(unittest.TestCase):
|
|||
|
||||
def test_volume_path_with_non_ascii_directory(self):
|
||||
volume = u'/Füü/data:/data'
|
||||
container_path = config.resolve_volume_path(volume, ".", "test")
|
||||
container_path = config.resolve_volume_path(".", volume, "test")
|
||||
self.assertEqual(container_path, volume)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue