human
Complete this python program:
def assert_key_equals_value(func):
assistant
#Here is the Python code you requested.

    """Test a key/value pair with parameters passed as key=value pairs
    """
    @functools.wraps(func)
    def wrapper(self, *args, **kwargs):
        name = func.__name__[5:]
        __test_key_value(self, name, '=')
        if (name == 'labels'):
            __test_stringlist(self, name)
        return func(self, *args, **kwargs)
    return wrapper