From f7cc4f62219523737c055f564eaead076184039e Mon Sep 17 00:00:00 2001 From: James Robinson Date: Thu, 25 Jan 2024 13:48:34 +0000 Subject: [PATCH] :bug: Fix test_template and test_template_file --- tests_/commands/test_config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests_/commands/test_config.py b/tests_/commands/test_config.py index a73fb4709d..5292328b96 100644 --- a/tests_/commands/test_config.py +++ b/tests_/commands/test_config.py @@ -6,7 +6,8 @@ def test_template(self, runner): result = runner.invoke(config_command_group, ["template"]) assert result.exit_code == 0 assert "subscription_id: Azure subscription ID" in result.stdout - assert "sres: {}" in result.stdout + assert "shm:" in result.stdout + assert "sres:" in result.stdout def test_template_file(self, runner, tmp_path): template_file = (tmp_path / "template.yaml").absolute() @@ -17,7 +18,8 @@ def test_template_file(self, runner, tmp_path): with open(template_file) as f: template_text = f.read() assert "subscription_id: Azure subscription ID" in template_text - assert "sres: {}" in template_text + assert "shm:" in template_text + assert "sres:" in template_text class TestUpload: