Document tests: need to remove each document created in tests
There is commit commands inside document, to prevent from partially writting data (eg. filestore and the db). Thus, the atomicity of the transaction is broken. bzr revid: p_christ@hol.gr-20100701175131-8v8xyosvz8nly0pi
This commit is contained in:
parent
1e99bfc52c
commit
28464cb07c
|
@ -65,4 +65,6 @@
|
|||
!python {model: ir.attachment}: |
|
||||
ids = self.search(cr, uid, [('res_model', '=', 'res.country'), ('res_id', '=', ref("base.za"))])
|
||||
assert ids == [ ref("attach_3rd")], ids
|
||||
-
|
||||
!delete {moel: ir.attachment, id: attach_3rd, search: }
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue