Skip to content

Commit

Permalink
Fix test for Odoo 17
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Feb 1, 2024
1 parent 40db074 commit 1a1d06a
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 0 deletions.
51 changes: 51 additions & 0 deletions tests/data/expected-default-odoo-cfg-17.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[options]
addons_path =
data_dir = /data/odoo
auto_reload = False
db_template = template1
db_host = postgres
db_port = 5432
db_name = odoodb
db_user = odoouser
db_password = odoopassword
db_sslmode = prefer
dbfilter = ^(odoodb)$
list_db = False
admin_passwd =
db_maxconn = 64
limit_memory_soft = 2147483648
limit_memory_hard = 2684354560
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
limit_time_real_cron = 120
log_handler = ':INFO'
log_level = info
max_cron_threads = 2
workers = 4
logfile = None
log_db = False
logrotate = True
syslog = False
running_env = dev
without_demo = True
server_wide_modules =
; We can activate proxy_mode even if we are not behind a proxy, because
; it is used only if HTTP_X_FORWARDED_HOST is set in environ
proxy_mode = True
; csv_internal_sep = ,
; debug_mode = False
; email_from = False
; http_port = 8069
; http_enable = True
; http_interface =
; longpolling_port = 8072
; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False
; smtp_password = False
; smtp_port = 25
; smtp_server = localhost
; smtp_ssl = False
; smtp_user = False
unaccent = False

51 changes: 51 additions & 0 deletions tests/data/expected-odoo-cfg-17.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[options]
addons_path = *ADDONS_PATH*
data_dir = /data/odoo
auto_reload = False
db_template = *DB_TEMPLATE*
db_host = *DB_HOST*
db_port = *DB_PORT*
db_name = *DB_NAME*
db_user = *DB_USER*
db_password = *DB_PASSWORD*
db_sslmode = *DB_SSLMODE*
dbfilter = *DB_FILTER*
list_db = *LIST_DB*
admin_passwd = *ADMIN_PASSWD*
db_maxconn = *DB_MAXCONN*
limit_memory_soft = *LIMIT_MEMORY_SOFT*
limit_memory_hard = *LIMIT_MEMORY_HARD*
limit_request = *LIMIT_REQUEST*
limit_time_cpu = *LIMIT_TIME_CPU*
limit_time_real = *LIMIT_TIME_REAL*
limit_time_real_cron = *LIMIT_TIME_REAL_CRON*
log_handler = *LOG_HANDLER*
log_level = *LOG_LEVEL*
max_cron_threads = *MAX_CRON_THREADS*
workers = *WORKERS*
logfile = *LOGFILE*
log_db = *LOG_DB*
logrotate = True
syslog = *SYSLOG*
running_env = *RUNNING_ENV*
without_demo = *WITHOUT_DEMO*
server_wide_modules = *SERVER_WIDE_MODULES*
; We can activate proxy_mode even if we are not behind a proxy, because
; it is used only if HTTP_X_FORWARDED_HOST is set in environ
proxy_mode = True
; csv_internal_sep = ,
; debug_mode = False
; email_from = False
; http_port = 8069
; http_enable = True
; http_interface =
; longpolling_port = 8072
; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False
; smtp_password = False
; smtp_port = 25
; smtp_server = localhost
; smtp_ssl = False
; smtp_user = False
unaccent = *UNACCENT*
*ADDITIONAL_ODOO_RC*

0 comments on commit 1a1d06a

Please sign in to comment.