Code formatting.
This commit is contained in:
parent
e8c862659c
commit
62a2f5a1d0
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@ def test_dev_docker_compose_has_same_services_as_build_server_configuration():
|
||||||
yaml = ruamel.yaml.YAML(typ='safe')
|
yaml = ruamel.yaml.YAML(typ='safe')
|
||||||
dev_services = {
|
dev_services = {
|
||||||
name: service
|
name: service
|
||||||
for name, service in yaml.load(open('tests/end-to-end/docker-compose.yaml').read())['services'].items()
|
for name, service in yaml.load(open('tests/end-to-end/docker-compose.yaml').read())[
|
||||||
|
'services'
|
||||||
|
].items()
|
||||||
if name != 'tests'
|
if name != 'tests'
|
||||||
}
|
}
|
||||||
build_server_services = tuple(yaml.load_all(open('.drone.yml').read()))[0]['services']
|
build_server_services = tuple(yaml.load_all(open('.drone.yml').read()))[0]['services']
|
||||||
|
|
Loading…
Reference in a new issue