Ensure that the config output by config command never contains python objects.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
3021ee12fe
commit
1bfbba36b2
5 changed files with 53 additions and 20 deletions
|
|
@ -177,12 +177,16 @@ class CLITestCase(DockerClientTestCase):
|
|||
'networks': {'front': {}},
|
||||
'services': {
|
||||
'web': {
|
||||
'build': os.path.abspath(self.base_dir),
|
||||
'build': {
|
||||
'context': os.path.abspath(self.base_dir),
|
||||
},
|
||||
'networks': ['front', 'default'],
|
||||
'volumes_from': ['service:other:rw'],
|
||||
},
|
||||
'other': {
|
||||
'image': 'busybox:latest',
|
||||
'command': 'top',
|
||||
'volumes': ['/data:rw'],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue