Skip to content

Commit

Permalink
fix: testing oscal profile populated in correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
hbraswelrh committed Jan 16, 2025
1 parent 439129f commit 46e9455
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/trestlebot/cli/test_sync_cac_content_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,12 @@ def test_created_oscal_profile(tmp_repo: Tuple[str, Repo]) -> None:

setup_for_catalog(repo_path, test_cat, "catalog")
# test_catalog_path = repo_path.joinpath("catalogs", test_cat, "catalog.json")
# tester_prof_path = (
# f"profiles/{test_product}/{test_policy_id}-{test_level}/profiles.json"
# )
tester_prof_path = (
f"profiles/{test_product}/{test_policy_id}-{test_level}/profiles.json"
f"profiles/{test_product}/{test_policy_id}-{test_level}/profile.json"
)

runner = CliRunner()
result = runner.invoke(
sync_cac_content_profile_cmd,
Expand Down

0 comments on commit 46e9455

Please sign in to comment.