tests_configs.ini 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. website.base_url = http://localhost:6543
  8. [app:command_test]
  9. use = egg:tracim_backend
  10. sqlalchemy.url = sqlite:///tracim_test.sqlite
  11. depot_storage_name = test
  12. depot_storage_dir = /tmp/test/depot
  13. user.auth_token.validity = 604800
  14. preview_cache_dir = /tmp/test/preview_cache
  15. website.base_url = http://localhost:6543
  16. [mail_test]
  17. sqlalchemy.url = sqlite:///:memory:
  18. depot_storage_name = test
  19. depot_storage_dir = /tmp/test/depot
  20. user.auth_token.validity = 604800
  21. preview_cache_dir = /tmp/test/preview_cache
  22. email.notification.activated = true
  23. email.notification.from.email = test_user_from+{user_id}@localhost
  24. email.notification.from.default_label = Tracim Notifications
  25. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  26. email.notification.references.email = test_user_refs+{content_id}@localhost
  27. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  28. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  29. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  30. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  31. # Note: items between { and } are variable names. Do not remove / rename them
  32. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  33. email.notification.created_account.subject = [{website_title}] Created account
  34. # processing_mode may be sync or async
  35. email.notification.processing_mode = sync
  36. email.notification.smtp.server = 127.0.0.1
  37. email.notification.smtp.port = 1025
  38. email.notification.smtp.user = test_user
  39. email.notification.smtp.password = just_a_password
  40. website.base_url = http://localhost:6543
  41. [mail_test_async]
  42. sqlalchemy.url = sqlite:///:memory:
  43. depot_storage_name = test
  44. depot_storage_dir = /tmp/test/depot
  45. user.auth_token.validity = 604800
  46. preview_cache_dir = /tmp/test/preview_cache
  47. email.notification.activated = true
  48. email.notification.from.email = test_user_from+{user_id}@localhost
  49. email.notification.from.default_label = Tracim Notifications
  50. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  51. email.notification.references.email = test_user_refs+{content_id}@localhost
  52. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  53. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  54. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  55. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  56. # Note: items between { and } are variable names. Do not remove / rename them
  57. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  58. email.notification.created_account.subject = [{website_title}] Created account
  59. # processing_mode may be sync or async
  60. email.notification.processing_mode = sync
  61. email.processing_mode = async
  62. email.notification.smtp.server = 127.0.0.1
  63. email.notification.smtp.port = 1025
  64. email.notification.smtp.user = test_user
  65. email.notification.smtp.password = just_a_password
  66. website.base_url = http://localhost:6543
  67. [functional_test]
  68. sqlalchemy.url = sqlite:///tracim_test.sqlite
  69. depot_storage_name = test
  70. depot_storage_dir = /tmp/test/depot
  71. user.auth_token.validity = 604800
  72. preview_cache_dir = /tmp/test/preview_cache
  73. preview.jpg.restricted_dims = True
  74. email.notification.activated = false
  75. website.base_url = http://localhost:6543
  76. [functional_test_no_db]
  77. sqlalchemy.url = sqlite://
  78. depot_storage_name = test
  79. depot_storage_dir = /tmp/test/depot
  80. user.auth_token.validity = 604800
  81. preview_cache_dir = /tmp/test/preview_cache
  82. preview.jpg.restricted_dims = True
  83. email.notification.activated = false
  84. website.base_url = http://localhost:6543
  85. [functional_test_with_mail_test_sync]
  86. sqlalchemy.url = sqlite:///tracim_test.sqlite
  87. depot_storage_name = test
  88. depot_storage_dir = /tmp/test/depot
  89. user.auth_token.validity = 604800
  90. preview_cache_dir = /tmp/test/preview_cache
  91. preview.jpg.restricted_dims = True
  92. email.notification.activated = true
  93. email.notification.from.email = test_user_from+{user_id}@localhost
  94. email.notification.from.default_label = Tracim Notifications
  95. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  96. email.notification.references.email = test_user_refs+{content_id}@localhost
  97. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  98. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  99. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  100. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  101. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  102. email.notification.created_account.subject = [{website_title}] Created account
  103. email.notification.processing_mode = sync
  104. email.notification.smtp.server = 127.0.0.1
  105. email.notification.smtp.port = 1025
  106. email.notification.smtp.user = test_user
  107. email.notification.smtp.password = just_a_password
  108. website.base_url = http://localhost:6543
  109. [functional_test_with_mail_test_async]
  110. sqlalchemy.url = sqlite:///tracim_test.sqlite
  111. depot_storage_name = test
  112. depot_storage_dir = /tmp/test/depot
  113. user.auth_token.validity = 604800
  114. preview_cache_dir = /tmp/test/preview_cache
  115. preview.jpg.restricted_dims = True
  116. email.notification.activated = true
  117. email.notification.from.email = test_user_from+{user_id}@localhost
  118. email.notification.from.default_label = Tracim Notifications
  119. email.notification.reply_to.email = test_user_reply+{content_id}@localhost
  120. email.notification.references.email = test_user_refs+{content_id}@localhost
  121. email.notification.content_update.template.html = %(here)s/tracim_backend/templates/mail/content_update_body_html.mak
  122. email.notification.content_update.template.text = %(here)s/tracim_backend/templates/mail/content_update_body_text.mak
  123. email.notification.created_account.template.html = %(here)s/tracim_backend/templates/mail/created_account_body_html.mak
  124. email.notification.created_account.template.text = %(here)s/tracim_backend/templates/mail/created_account_body_text.mak
  125. email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
  126. email.notification.created_account.subject = [{website_title}] Created account
  127. email.notification.processing_mode = async
  128. email.notification.smtp.server = 127.0.0.1
  129. email.notification.smtp.port = 1025
  130. email.notification.smtp.user = test_user
  131. email.notification.smtp.password = just_a_password
  132. website.base_url = http://localhost:6543