From a33a28aac29949c49c61018a307ebfaebeeb2060 Mon Sep 17 00:00:00 2001 From: Sylvie Dyer Date: Tue, 8 Oct 2024 22:55:34 +0000 Subject: [PATCH] Minor style changes --- tests/test_project.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_project.py b/tests/test_project.py index 68bfe681..d6f1cc4c 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -195,7 +195,13 @@ def test_load_settings_missing_protocol_version(project): with patch_settings(project, data) as mock_open, patch_load as mock_load: project.load_settings() - + mock_open.assert_called_once_with("r", encoding="utf-8") + mock_load.assert_not_called() + assert project.type_info == ("AWS", "Color", "Red", "MODULE") + assert project.type_name == MODULE_TYPE_NAME + assert project.language is None + assert project.artifact_type == ARTIFACT_TYPE_MODULE + assert project._plugin is None assert project.settings == {}