def test_takes_all_arguments():
 assert (not hug.introspect.takes_all_arguments(function_with_kwargs, 'argument1', 'argument2', 'argument3'))
 assert (not hug.introspect.takes_all_arguments(function_with_args, 'argument1', 'argument2', 'argument3'))
 assert (not hug.introspect.takes_all_arguments(function_with_neither, 'argument1', 'argument2', 'argument3'))
 assert hug.introspect.takes_all_arguments(function_with_both, 'argument1', 'argument2', 'argument3')

def test_takes_all_arguments ( ) : assert ( not hug . introspect . takes_all_arguments ( function_with_kwargs , 'argument1' , 'argument2' , 'argument3' ) ) assert ( not hug . introspect . takes_all_arguments ( function_with_args , 'argument1' , 'argument2' , 'argument3' ) ) assert ( not hug . introspect . takes_all_arguments ( function_with_neither , 'argument1' , 'argument2' , 'argument3' ) ) assert hug . introspect . takes_all_arguments ( function_with_both , 'argument1' , 'argument2' , 'argument3' )
test to ensure hug introspection can correctly identify if a function takes all specified arguments .