Skip to content

Commit

Permalink
functional checkout tests #222
Browse files Browse the repository at this point in the history
  • Loading branch information
Avery Kiihne authored and Avery Kiihne committed Oct 31, 2024
1 parent 2c0846f commit 34eb37e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fre/make/tests/null_example/test_checkout_null_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Set example yaml paths, input directory
CWD = Path.cwd()
test_dir = Path("fre/make/tests/null_example")
yamlfile = Path("{test_dir}/null_model.yaml")
yamlfile = Path(f"{test_dir}/null_model.yaml")

#set platform and target
platform = "ncrc5.intel"
Expand All @@ -32,7 +32,8 @@ def test_checkout_script_exists():
"""
result = runner.invoke(fre.fre, args=["make","create-checkout","-y",yamlfile,"-p",platform,"-t",target])
#createCheckout.checkout_create(["null_model.yaml","ncrc5.intel","debug"])
assert Path(f"{out_dir}/checkout.sh").exists()
assert result.exit_code == 0
assert Path(f"{out_dir}/fremake_canopy/test/null_model_full/src/checkout.sh").exists()

def test_checkout_execute():
"""
Expand Down

0 comments on commit 34eb37e

Please sign in to comment.