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.
PR: https://github.com/freeipa/freeipa/pull/6718
master:
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!
def remove_condition
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.
ipa automember-remove-condition
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:
ipa-4-10:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.