(*using_args, **using_kwargs)
return decorator_using
An alternative to the default param method of injecting fixtures into tests. Allows you to avoid using
    keyword arguments in your test definitions.
An alternative to the default param method of injecting fixtures into tests. Allows you to avoid using
    keyword arguments in your test definitions.
An alternative to the default param method of injecting fixtures into tests . Allows you to avoid using keyword arguments in your test definitions .
def using(*using_args, **using_kwargs):
    """
    An alternative to the default param method of injecting fixtures into tests. Allows you to avoid using
    keyword arguments in your test definitions.
    """

    def decorator_using(func):
        signature = inspect.signature(func)
        bound_args = signature.bind_partial(*using_args, **using_kwargs)
        if hasattr(func, "ward_meta"):
            func.ward_meta.bound_args = bound_args
        else:
            func.ward_meta = CollectionMetadata(bound_args=bound_args)

        @wraps(func)
        def wrapper(*args, **kwargs):
            return func(*args, **kwargs)

        return wrapper

    return decorator_using
def using ( * using_args , * * using_kwargs ) : def decorator_using ( func ) : signature = inspect . signature ( func ) bound_args = signature . bind_partial ( * using_args , * * using_kwargs ) if hasattr ( func , "ward_meta" ) : func . ward_meta . bound_args = bound_args else : func . ward_meta = CollectionMetadata ( bound_args = bound_args ) @ wraps ( func ) def wrapper ( * args , * * kwargs ) : return func ( * args , * * kwargs ) return wrapper return decorator_using