From 1db6a5e3e0fb53538d1f6a73544a4a8469a360e2 Mon Sep 17 00:00:00 2001 From: DiG Date: Tue, 18 Jan 2022 00:07:34 +0100 Subject: [PATCH] Added tests in test-remote.py --- test-remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-remote.py b/test-remote.py index 79551ab..91a89b6 100644 --- a/test-remote.py +++ b/test-remote.py @@ -3,4 +3,5 @@ import remote remote.autolog() print( remote.search('res.users', [('id','=',7)]) ) print( remote.fields('product.uom', []) ) -# print( remote.lookup('product.uom', [('id','=',24)]), recurse='product.uom,product.uom.categ' ) \ No newline at end of file +print( remote.lookup('product.uom', [('id','=',24)], recurse='product.uom,product.uom.categ') ) +print( remote.save('product.uom', [('id','=',24)], recurse='product.uom,product.uom.categ') ) \ No newline at end of file