当前位置: 首页>>代码示例>>Python>>正文


Python HostTracker.make_fixture方法代码示例

本文整理汇总了Python中ipatests.test_xmlrpc.tracker.host_plugin.HostTracker.make_fixture方法的典型用法代码示例。如果您正苦于以下问题:Python HostTracker.make_fixture方法的具体用法?Python HostTracker.make_fixture怎么用?Python HostTracker.make_fixture使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ipatests.test_xmlrpc.tracker.host_plugin.HostTracker的用法示例。


在下文中一共展示了HostTracker.make_fixture方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: host5

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host5(request):
    tracker = HostTracker(u'webserver5')
    return tracker.make_fixture(request)
开发者ID:rmoorman,项目名称:freeipa,代码行数:5,代码来源:test_automember_plugin.py

示例2: host3

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host3(request):
    tracker = HostTracker(u'web5')
    return tracker.make_fixture(request)
开发者ID:rmoorman,项目名称:freeipa,代码行数:5,代码来源:test_automember_plugin.py

示例3: host4

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host4(request):
    tracker = HostTracker(u'www5')
    return tracker.make_fixture(request)
开发者ID:rmoorman,项目名称:freeipa,代码行数:5,代码来源:test_automember_plugin.py

示例4: indicators_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def indicators_host(request):
    tracker = HostTracker(name=u'testhost1', fqdn=fqdn1)
    return tracker.make_fixture(request)
开发者ID:guanwei,项目名称:freeipa,代码行数:5,代码来源:test_service_plugin.py

示例5: host2

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host2(request):
    tracker = HostTracker(u'dev1')
    return tracker.make_fixture(request)
开发者ID:rmoorman,项目名称:freeipa,代码行数:5,代码来源:test_automember_plugin.py

示例6: host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host(request):
    tracker = HostTracker(name=u'host')
    return tracker.make_fixture(request)
开发者ID:icute1349,项目名称:freeipa,代码行数:5,代码来源:test_hostgroup_plugin.py

示例7: krb_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def krb_host(request):
    tracker = HostTracker(u'krb-host')

    return tracker.make_fixture(request)
开发者ID:encukou,项目名称:freeipa,代码行数:6,代码来源:test_whoami_plugin.py

示例8: host1

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host1(request):
    tracker = HostTracker(name=u"host1")
    return tracker.make_fixture(request)
开发者ID:apophys,项目名称:freeipa,代码行数:5,代码来源:test_nesting.py

示例9: santest_host_2

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def santest_host_2(request):
    tr = HostTracker(u'santest-host-2')
    return tr.make_fixture(request)
开发者ID:npmccallum,项目名称:freeipa,代码行数:5,代码来源:test_caacl_profile_enforcement.py

示例10: ipv6_fromip_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def ipv6_fromip_host(request):
    name = u'testipv6fromip'
    tracker = HostTracker(name=name, fqdn=u'%s.%s' % (name, dnszone))
    return tracker.make_fixture(request)
开发者ID:stlaz,项目名称:freeipa,代码行数:6,代码来源:test_host_plugin.py

示例11: krb_service_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def krb_service_host(request):
    tracker = HostTracker(u'krb-srv-host')

    return tracker.make_fixture(request)
开发者ID:encukou,项目名称:freeipa,代码行数:6,代码来源:test_kerberos_principal_aliases.py

示例12: ipv46both_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def ipv46both_host(request):
    name = u'testipv4and6host'
    tracker = HostTracker(name=name, fqdn=u'%s.%s' % (name, dnszone))
    return tracker.make_fixture(request)
开发者ID:stlaz,项目名称:freeipa,代码行数:6,代码来源:test_host_plugin.py

示例13: invalid_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def invalid_host(request):
    tracker = HostTracker(name='foo_bar',)
    return tracker.make_fixture(request)
开发者ID:stlaz,项目名称:freeipa,代码行数:5,代码来源:test_host_plugin.py

示例14: lab_host

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def lab_host(request):
    name = u'testhost1'
    tracker = HostTracker(name=name,
                          fqdn=u'%s.lab.%s' % (name, api.env.domain))
    return tracker.make_fixture(request)
开发者ID:stlaz,项目名称:freeipa,代码行数:7,代码来源:test_host_plugin.py

示例15: host4

# 需要导入模块: from ipatests.test_xmlrpc.tracker.host_plugin import HostTracker [as 别名]
# 或者: from ipatests.test_xmlrpc.tracker.host_plugin.HostTracker import make_fixture [as 别名]
def host4(request):
    tracker = HostTracker(name=u'testhost4')
    return tracker.make_fixture(request)
开发者ID:stlaz,项目名称:freeipa,代码行数:5,代码来源:test_host_plugin.py


注:本文中的ipatests.test_xmlrpc.tracker.host_plugin.HostTracker.make_fixture方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。