From 83db62937cf416afec08d15f765ad542fa5dc26c Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Wed, 18 May 2022 16:39:43 +0800 Subject: [PATCH] fix: typo in test_service_init --- tests/test_extends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_extends.py b/tests/test_extends.py index daab3c5..4020277 100644 --- a/tests/test_extends.py +++ b/tests/test_extends.py @@ -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'))