Exemple #1
0
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
Exemple #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
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
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