tests_configs.ini 7.8KB

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