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 56ec04d commit 385c8e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/trestlebot/cli/test_sync_cac_content_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
test_comp_path = f"component-definitions/{test_product}/component-definition.json"
test_policy_id = "1234-levels"
#tester_prof_path = f"profiles/{policy_id}-{filter_by_level}/profiles.json"
test_level = "low"
tester_prof_path = f"profiles/{test_policy_id}-{test_level}/profiles.json"
test_level = ["low"]


def test_missing_required_option(tmp_repo: Tuple[str, Repo]) -> None:
Expand Down Expand Up @@ -255,6 +254,7 @@ 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_policy_id}-{test_level}/profiles.json"

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

0 comments on commit 385c8e8

Please sign in to comment.