mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +00:00
Handle missing (not built) service image in config --hash
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
861031b9b7
commit
ee878aee4c
3 changed files with 10 additions and 5 deletions
|
|
@ -224,7 +224,6 @@ class CLITestCase(DockerClientTestCase):
|
|||
|
||||
def test_config_with_hash_option(self):
|
||||
self.base_dir = 'tests/fixtures/v2-full'
|
||||
self.project.build()
|
||||
result = self.dispatch(['config', '--hash=*'])
|
||||
for service in self.project.get_services():
|
||||
assert '{} {}\n'.format(service.name, service.config_hash) in result.stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue