#9332 Extend negative test coverage for automember
Closed: fixed a year ago by frenaud. Opened a year ago by mbhalodi.

Description

Revisit the automember-cli bash test written in downstream and port the remaining (like the negative tests) scenarios to upstream.

A few bash test examples which can be ported are:
- ipaautomember_addAutomemberCondition_negative_badgroup
- ipaautomember_addAutomemberCondition_negative_badtype
- ipaautomember_addAutomemberCondition_negative_badkey
And many more.


master:

  • 4119e4e ipatests: add missing automember-cli tests

The above commit adds most of the missing tests. We still need new code in test_xmlrpc for the ipa automember-remove-condition commands.

I don't see removeAutomemberCondition (def remove_condition) in upstream defined like in base.py or anywhere in the plugins, so it's not been ported yet!

FYI I have already marked those (ipa automember-remove-condition) tests as remaining earlier only while I was revisiting them one by one from downstream.

Note: To write the test for this, I need to write the remove condition function first, will update you soon on this!

ipa-4-9:

  • 34c1574 ipatests: add missing automember-cli tests

ipa-4-10:

  • 6db9bbd ipatests: add missing automember-cli tests

master:

  • ef0ae49 ipatests: add remove automember condition tests

ipa-4-10:

  • 846c267 ipatests: add remove automember condition tests

ipa-4-9:

  • 2c3e799 ipatests: add remove automember condition tests

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

a year ago

Login to comment on this ticket.

Metadata