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

    """Decorator to make a simple function into a normal test via unittest.
    """
    class Tester(unittest.TestCase, ):
        def test(self):
            func()
    Tester.__name__ = func.__name__
    return Tester