tests_configs.ini 1.6KB

12345678910111213141516171819202122232425262728293031
  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