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

    """Test an integer value
    """
    @functools.wraps(func)
    def wrapper(self, *args, **kwargs):
        name = func.__name__[5:]
        alias = salt.utils.docker.ALIASES_REVMAP.get(name)
        for item in (name, alias):
            if (item is None):
                continue
            self.assertEqual(docker_utils.translate_input(**{item: 100}), ({name: 100}, {}, []))
            self.assertEqual(docker_utils.translate_input(**{item: '200'}), ({name: 200}, {}, []))
            self.assertEqual(docker_utils.translate_input(**{item: 'foo'}), ({}, {item: "'foo'    is    not    an    integer"}, []))
        if (alias is not None):
            self.assertEqual(docker_utils.translate_input(**{name: 100, alias: 200}), ({name: 100}, {}, [name]))
        return func(self, *args, **kwargs)
    return wrapper