def test_takes_kwargs():
    assert hug.introspect.takes_kwargs(function_with_kwargs)
    assert not hug.introspect.takes_kwargs(function_with_args)
    assert not hug.introspect.takes_kwargs(function_with_neither)
    assert hug.introspect.takes_kwargs(function_with_both)
Check we have all the required settings defined.
dataset/ETHPy150Open timothycrosley/hug/tests/test_introspect.py/test_takes_kwargs--crossover with--dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/storage/dropbox_storage.py/Storage._check_settings