コード例 #1
0
ファイル: __init__.py プロジェクト: slouderm/cfme_tests
def a_namespace_with_path(domain=None):
    name = generate_random_string(8)
    if not domain:
        domain = make_domain()

    n = Namespace.make_path('Factory', 'StateMachines', name, domain=domain)
    n.description = generate_random_string(32)
    return n
コード例 #2
0
def a_namespace_with_path(domain=None, request=None):
    name = fauxfactory.gen_alphanumeric(8)
    if not domain:
        domain = make_domain(request=request)

    n = Namespace.make_path('Factory', 'StateMachines', name, domain=domain)
    n.description = fauxfactory.gen_alphanumeric(32)
    return n
コード例 #3
0
def a_namespace_with_path():
    name = generate_random_string(8)
    n = Namespace.make_path('Factory', 'StateMachines', name)
    n.description = generate_random_string(32)
    return n
コード例 #4
0
def a_namespace_with_path():
    name = generate_random_string(8)
    n = Namespace.make_path('Factory', 'StateMachines', name)
    n.description = generate_random_string(32)
    return n