Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lasley committed Aug 10, 2017
1 parent 5ba8e73 commit 1be3608
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/scaffoldings/dotd/custom/conf.d/request_limit.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[options]
limit_request = 9000
4 changes: 4 additions & 0 deletions tests/scaffoldings/dotd/custom/entrypoint.d/600-goodconf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/local/bin/python-odoo-shell
from odoo.tools import config
assert config.get("limit_request") == 9000
assert not config.get("list_db")
2 changes: 2 additions & 0 deletions tests/scaffoldings/dotd/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
PGUSER: another_odoo
PGPASSWORD: anotherodoopassword
PGHOST: postgresql
ODOO_LIMIT_REQUEST: 8000
ODOO_LIST_DB: 0
depends_on:
- postgresql
volumes:
Expand Down

0 comments on commit 1be3608

Please sign in to comment.