#8449 EPN: enhance CLI option tests
Closed: fixed by rcritten. Opened by fcami.

Request for enhancement

Test following cases:
- Check that --to-nbdays implies --dry-run: "test_EPN_nbdays" can be enhanced to check that.
- Check that --from-nbdays implies --to-nbdays: "test_EPN_nbdays" can be enhanced to check that.
- test that with --to-nbdays only ends in a expected failure.
- test non-numerical input and decimal input to both options


Metadata Update from @fcami:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4970

Metadata Update from @fcami:
- Custom field changelog adjusted to EPN: enhance existing tests for --dry-run, --from-nbdays and --to-nbdays.

master:

  • e1750e2a18ed0e537608cfdee7eed3ffa090d443 ipatests: tasks.py: fix ipa-epn invocation
  • 41333b631d3ffa8d32d5bd5c2b69f2f51bb62c21 ipatests: test_epn: test_EPN_nbdays enhancements

ipa-4-8:

  • 9479a393a71fe1de7d62ca2b50a7d3d8698d4ba1 ipatests: tasks.py: fix ipa-epn invocation
  • 3b8fdd87760cfb8ec739c67298f012cf0bd3ac39 ipatests: test_epn: test_EPN_nbdays enhancements

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 97006786dfed7947aaa96737201ef7e0e53dd952 IPA-EPN: enhance input validation
  • 5452f020f93d57a48c4ae34675cc7e480b66fccf ipatests: test_epn: update error messages

Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1866291

Issue linked to Bugzilla: Bug 1866291

ipa-4-8:

  • b4266023e04729db12de2f7e0de4da9e1d00db38 ipatests: test_epn: update error messages
  • 2809084a44e3b174fa48a611e79f04358e1d6dca IPA-EPN: enhance input validation
Metadata