Ejemplo n.º 1
0
def ipaservers(request, xmlrpc_setup):
    # Track the ipaservers hostgroup
    # Since the hostgroup is protected, we cannot use 'make_fixture()' because
    # it will try to delete the object when scope is destroyed and that will
    # fail. Thus, we only create it here.
    tracker = HostGroupTracker(name=u'ipaservers',
                               description=u'IPA server hosts')
    tracker.exists = True
    tracker.track_create()
    return tracker
Ejemplo n.º 2
0
def hostgroup4(request):
    tracker = HostGroupTracker(name=u'thostgroup4',
                               description=u'Automember test hostgroup4')
    return tracker.make_fixture(request)
Ejemplo n.º 3
0
def defaulthostgroup1(request):
    tracker = HostGroupTracker(name=u'defaulthostgroup1',
                               description=u'Automember test'
                                           'defaulthostgroup1')
    return tracker.make_fixture(request)
Ejemplo n.º 4
0
def hostgroup_single(request):
    tracker = HostGroupTracker(name=u'a')
    return tracker.make_fixture(request)
Ejemplo n.º 5
0
def hostgroup_invalid(request):
    tracker = HostGroupTracker(name=u'@invalid')
    return tracker.make_fixture(request)
Ejemplo n.º 6
0
def hostgroup(request):
    tracker = HostGroupTracker(name=u'hostgroup')
    return tracker.make_fixture(request)
Ejemplo n.º 7
0
def hostgroup2(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'hostgroup2')
    return tracker.make_fixture(request)
Ejemplo n.º 8
0
def hostgroup2(request):
    tracker = HostGroupTracker(name=u"hostgroup2")
    return tracker.make_fixture(request)
def hostgroup2(request):
    tracker = HostGroupTracker(name=u'thostgroup2',
                               description=u'Automember test hostgroup2')
    return tracker.make_fixture(request)
Ejemplo n.º 10
0
def defaulthostgroup1(request):
    tracker = HostGroupTracker(name=u'defaulthostgroup1',
                               description=u'Automember test'
                               'defaulthostgroup1')
    return tracker.make_fixture(request)
Ejemplo n.º 11
0
def hostgroup_invalid(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'@invalid')
    return tracker.make_fixture(request)
Ejemplo n.º 12
0
def hostgroup_single(request):
    tracker = HostGroupTracker(name=u'a')
    return tracker.make_fixture(request)
Ejemplo n.º 13
0
def hostgroup(request):
    tracker = HostGroupTracker(name=u'hostgroup')
    return tracker.make_fixture(request)
Ejemplo n.º 14
0
def hostgroup1(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'thostgroup1',
                               description=u'Automember test hostgroup1')
    return tracker.make_fixture(request)