Skip to content

Commit

Permalink
Update unit tests for creating containers
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Oct 3, 2023
1 parent afd8a10 commit 734e565
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/jcsda-emc/spack-stack/tests/test_stack_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ def test_sites(site):

@pytest.mark.extension("stack")
@pytest.mark.parametrize("container", all_containers())
@pytest.mark.filterwarnings("ignore::UserWarning")
@pytest.mark.parametrize("spec", all_specs())
#@pytest.mark.filterwarnings("ignore::UserWarning")
def test_containers(container):
if not container:
if not container or not spec:
return
container_wo_ext = os.path.splitext(container)[0]
stack_create("create", "ctr", container_wo_ext, "--dir", test_dir, "--overwrite")
spec_wo_ext = os.path.splitext(spec)[0]
stack_create("create", "ctr", "--container", container_wo_ext, "--spec", spec_wo_ext, "--dir", test_dir, "--overwrite")

0 comments on commit 734e565

Please sign in to comment.