Explorar el Código

Closes #9453: Disable default loggers when running tests

jeremystretch hace 3 años
padre
commit
8074ca95bd
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      netbox/netbox/configuration_testing.py

+ 5 - 0
netbox/netbox/configuration_testing.py

@@ -36,3 +36,8 @@ REDIS = {
 }
 
 SECRET_KEY = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
+
+LOGGING = {
+    'version': 1,
+    'disable_existing_loggers': True
+}