tests_configs.ini 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [base_test]
  2. sqlalchemy.url = sqlite:///:memory:
  3. depot_storage_name = test
  4. depot_storage_dir = /tmp/test/depot
  5. user.auth_token.validity = 604800
  6. preview_cache_dir = /tmp/test/preview_cache
  7. [app:command_test]
  8. use = egg:tracim_backend
  9. sqlalchemy.url = sqlite:///tracim_test.sqlite
  10. depot_storage_name = test
  11. depot_storage_dir = /tmp/test/depot
  12. user.auth_token.validity = 604800
  13. preview_cache_dir = /tmp/test/preview_cache
  14. [mail_test]
  15. sqlalchemy.url = sqlite:///:memory:
  16. depot_storage_name = test
  17. depot_storage_dir = /tmp/test/depot
  18. user.auth_token.validity = 604800
  19. preview_cache_dir = /tmp/test/preview_cache
  20. email.notification.activated = true
  21. email.notification.from.email = test_user_from+{user_id}@localhost
  22. email.notification.from.default_label = Tracim Notifications
  23. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  24. email.notification.references.email = test_user_refs+{content_id}@localhost
  25. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  26. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  27. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  28. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  29. # Note: items between { and } are variable names. Do not remove / rename them
  30. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  31. email.notification.created_account.subject = [{website_title}] Created account
  32. # processing_mode may be sync or async
  33. email.notification.processing_mode = sync
  34. email.notification.smtp.server = 127.0.0.1
  35. email.notification.smtp.port = 1025
  36. email.notification.smtp.user = test_user
  37. email.notification.smtp.password = just_a_password
  38. [mail_test_async]
  39. sqlalchemy.url = sqlite:///:memory:
  40. depot_storage_name = test
  41. depot_storage_dir = /tmp/test/depot
  42. user.auth_token.validity = 604800
  43. preview_cache_dir = /tmp/test/preview_cache
  44. email.notification.activated = true
  45. email.notification.from.email = test_user_from+{user_id}@localhost
  46. email.notification.from.default_label = Tracim Notifications
  47. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  48. email.notification.references.email = test_user_refs+{content_id}@localhost
  49. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  50. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  51. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  52. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  53. # Note: items between { and } are variable names. Do not remove / rename them
  54. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  55. email.notification.created_account.subject = [{website_title}] Created account
  56. # processing_mode may be sync or async
  57. email.notification.processing_mode = sync
  58. email.processing_mode = async
  59. email.notification.smtp.server = 127.0.0.1
  60. email.notification.smtp.port = 1025
  61. email.notification.smtp.user = test_user
  62. email.notification.smtp.password = just_a_password