def METHOD_NAME(func):
    """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