From 8b98cdfab958ba88f3aa134c09742b9816470507 Mon Sep 17 00:00:00 2001 From: Jillian Rowe Date: Tue, 25 Oct 2022 18:31:30 +0300 Subject: [PATCH] adding back in pcluster_spawner_template --- tests/test_aws_pcluster_slurm_spawner.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_aws_pcluster_slurm_spawner.py b/tests/test_aws_pcluster_slurm_spawner.py index d0e0d31..8c5a3a6 100644 --- a/tests/test_aws_pcluster_slurm_spawner.py +++ b/tests/test_aws_pcluster_slurm_spawner.py @@ -29,6 +29,15 @@ os.environ[ENV_PCLUSTER_CONFIG_FILE] = pcluster_config_file +def test_imports(): + from aws_pcluster_slurm_spawner import ( + PClusterSlurmSpawner, + pcluster_spawner_template_paths, + ) + + assert os.path.exists(pcluster_spawner_template_paths) + + def test_profiles(): spawner = PClusterSlurmSpawner() debug(spawner.profiles_list)