jsmits/django-logutils

test the app settings

jsmits opened this issue · 0 comments

Testing the app settings (LOGUTILS_LOGGING_MIDDLEWARE_EVENT and LOGUTILS_REQUEST_TIME_THRESHOLD) is not possible by using settings.[the_name_of_the_setting] in a test function. To test this, we could figure out why it doesn't work and try to fix that or to mock the settings in the test function. Or maybe, something else.