本文整理汇总了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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)