def METHOD_NAME(self):
    # Expected that settings for this extension loaded succesfully
    # And on certain conditions - extension raising NotConfigured
    # "PERIODIC_LOG_STATS": True -> set to {"enabled": True}
    # due to TypeError exception from settings.getdict
    assert extension({"PERIODIC_LOG_STATS": True, "LOGSTATS_INTERVAL": 60})
    # "PERIODIC_LOG_STATS": "True" -> set to {"enabled": True}
    # due to JSONDecodeError(ValueError) exception from settings.getdict
    assert extension({"PERIODIC_LOG_STATS": "True", "LOGSTATS_INTERVAL": 60})
    # The ame for PERIODIC_LOG_DELTA:
    assert extension({"PERIODIC_LOG_DELTA": True, "LOGSTATS_INTERVAL": 60})
    assert extension({"PERIODIC_LOG_DELTA": "True", "LOGSTATS_INTERVAL": 60})