fix(test-xmlrpc): remove unnecessary conditional statement for loading environment variables
This commit is contained in:
1 file changed
+1
-3
@@ -2435,9 +2435,7 @@ function create-revision() {
|
||||
function test-xmlrpc() {
|
||||
activate-venv
|
||||
|
||||
if test -z "$1"; then
|
||||
load-env "$1"
|
||||
fi
|
||||
load-env "$1"
|
||||
|
||||
export ODOO_DATABASE
|
||||
echo "Connect to database and count res.partner records: $(images/odoocli/bin/odoocli --model "res.partner" --method "search_count" --domain '[]')"
|
||||
|
||||
Reference in new issue
Block a user