Skip to content

Commit

Permalink
Adjust text and asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
sambible committed Jan 16, 2024
1 parent 70969db commit 045838a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/foreman/cli/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,13 +865,12 @@ def test_entitlements_report_no_inputs_field(
without passing in the 'Days from Now' argument in the inputs field, to test the
default setting
:id: 52fd52db-0ab3-48f3-b37c-c8ce4224810c
:id: 5c4e52b9-314c-470d-9946-3d6e05c85b7e
:steps:
1. hammer report-template generate --organization '' --id '' --report-format ''
:expectedresults: report is generated containing all the expected information
regarding entitlements, and the Days From Now field isn't required
:expectedresults: report is generated, and the Days From Now field isn't required
:BZ: 1943306
Expand All @@ -888,8 +887,8 @@ def test_entitlements_report_no_inputs_field(
'report-format': 'csv',
}
)
assert client.hostname in result
assert local_subscription['name'] in result
# Only care that the Days from Now field isn't required, do not care about content
assert 'Subscription Total Quantity' in result


@pytest.mark.tier3
Expand Down

0 comments on commit 045838a

Please sign in to comment.