def my_decorator(func):
    def wrapped_func():
        print('Start')
        func()
        print('End')
    return wrapped_func

@my_decorator
def test1():
    print('test1')

@my_decorator
def test2():
    print('test2')

>>> test1()
Start
test1
End
>>> test2()
Start
test2
End