def METHOD_NAME(self):
    # Testing a call by a different file is somewhat hard but it's covered in
    # TestUpdater/Application.test_manual_init_warning
    frame = inspect.currentframe()
    file = Path(__file__)
    assert was_called_by(frame, file)