Skip to content

Commit c31bf5b

Browse files
Vandita2020Vandita Patidar
andauthored
Fix LMI test skip condition and remove deprecated Python version (#8585)
Co-authored-by: Vandita Patidar <vanditap@amazon.com>
1 parent ab98052 commit c31bf5b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/integration/sync/test_sync_code.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ class TestSyncCodeBase(SyncIntegBase):
4848

4949
@pytest.fixture(scope="class")
5050
def execute_infra_sync(self):
51+
# Skip if test_data_path is None
52+
if self.test_data_path is None:
53+
pytest.skip("Test data path not initialized - likely due to missing LMI environment variables")
5154
TestSyncCodeBase.template_path = self.test_data_path.joinpath(self.folder, "before", self.template)
5255
TestSyncCodeBase.stack_name = self._method_to_stack_name(self.id())
5356

tests/integration/validate/test_validate_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def test_lint_supported_runtimes(self):
211211
"nodejs22.x",
212212
"provided.al2",
213213
"provided.al2023",
214-
"python3.9",
215214
"python3.10",
216215
"python3.11",
217216
"python3.12",

0 commit comments

Comments
 (0)