test.ini 762 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [DEFAULT]
  2. debug = false
  3. smtp_server = localhost
  4. error_email_from = paste@localhost
  5. [server:main]
  6. use = egg:Paste#http
  7. host = 0.0.0.0
  8. port = 5000
  9. [app:main]
  10. use = config:../ckan/test-core.ini
  11. # Insert any custom config settings to be used when running your extension's
  12. # tests here.
  13. # Logging configuration
  14. [loggers]
  15. keys = root, ckan, sqlalchemy
  16. [handlers]
  17. keys = console
  18. [formatters]
  19. keys = generic
  20. [logger_root]
  21. level = WARN
  22. handlers = console
  23. [logger_ckan]
  24. qualname = ckan
  25. handlers =
  26. level = INFO
  27. [logger_sqlalchemy]
  28. handlers =
  29. qualname = sqlalchemy.engine
  30. level = WARN
  31. [handler_console]
  32. class = StreamHandler
  33. args = (sys.stdout,)
  34. level = NOTSET
  35. formatter = generic
  36. [formatter_generic]
  37. format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s