fix: typo in test_service_init
This commit is contained in:
parent
c001420db0
commit
83db62937c
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ def test_service_init():
|
|||
with pytest.raises(ValueError, match=r"Both image and extends are not defined in service 'frontend', aborting."):
|
||||
Service(name='frontend')
|
||||
|
||||
with pytest.raises(ValueError, match=r"Only one of image and extends can be defined in service '{name}', aborting."):
|
||||
with pytest.raises(ValueError, match=r"Only one of image and extends can be defined in service 'frontend', aborting."):
|
||||
Service(name='frontend', image='image', extends=Extends(service_name='frontend', from_file='tests/in/000001.yaml'))
|
||||
|
|
Loading…
Reference in a new issue