Exemplo n.º 1
0
def param_for_service_base_subclass_init(metafunc):
    classnames = []
    classes = []
    for clsname in sorted(_services.keys()):
        classnames.append(clsname)
        classes.append([_services[clsname]])
    metafunc.parametrize(['cls'], classes, ids=classnames)
Exemplo n.º 2
0
def param_for_service_base_subclass_init(metafunc):
    classnames = []
    classes = []
    for clsname in sorted(_services.keys()):
        classnames.append(clsname)
        classes.append([_services[clsname]])
    metafunc.parametrize(
        ['cls'],
        classes,
        ids=classnames
    )