Skip to content

Commit

Permalink
add regression test coverage for --display.
Browse files Browse the repository at this point in the history
Add coverage to add 'display' when saving profile
  • Loading branch information
shahzebsiddiqui committed Jun 4, 2024
1 parent 014fc33 commit dfcb8f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/cli/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ def test_save_profile(self):
BuildTest(
configuration=buildtest_configuration,
buildspecs=buildspecs,
display=["output", "test"],
exclude_buildspecs=buildspecs,
tags=["python"],
executors=["generic.local.csh"],
Expand Down Expand Up @@ -524,6 +525,15 @@ def test_retry(self):
cmd = BuildTest(configuration=configuration, buildspecs=buildspecs, retry=2)
cmd.build()

def test_display(self):
buildspecs = [os.path.join(BUILDTEST_ROOT, "tutorials", "post_run.yml")]
cmd = BuildTest(
configuration=configuration,
buildspecs=buildspecs,
display=["output", "test"],
)
cmd.build()


def test_discover():
# test single buildspec file
Expand Down

0 comments on commit dfcb8f0

Please sign in to comment.