tests_configs.ini 3.1KB

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