def dummy_group(ipa_testing_config): ipa_admin.group_add( a_cn='dummy-group', o_description="A dummy group", fasgroup=True, fasurl="http://dummygroup.org", fasmailinglist="*****@*****.**", fasircchannel="irc:///freenode.net/#dummy-group", ) yield ipa_admin.group_del(a_cn='dummy-group')
def _make_group(name): result = ipa_admin.group_add( name, o_description=f"The {name} group", fasgroup=True, fasurl=f"http://{name}.example.com", fasmailinglist=f"{name}@lists.example.com", fasircchannel=f"irc:///freenode.net/#{name}", ) created.append(name) return result
def nonfas_group(ipa_testing_config, app): ipa_admin.group_add(a_cn="nonfas-group") yield ipa_admin.group_del("nonfas-group")