to check the log warning, you can have a look at https://github.com/getpelican/pelican/blob/master/tests/test_pelican.py#L82