human
I wrote the below code

    class Tester(unittest.TestCase, ):
        def test(self):
            func()
    Tester.__name__ = func.__name__
    return Tester

What's a good function header?
assistant
#Here's a good function header.

def as_unittest(func):