diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-07-01 20:51:31 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-07-01 20:51:31 +0300 |
| commit | 28464cb07c33a759653abda9310fd9e3e99ea4ef (patch) | |
| tree | 241cd0ff741be3f42df4446ef9cd79722e49690c /addons/document/test/document_test2.yml | |
| parent | 1e99bfc52c55dd20114b9c5586a8e6fe0c921dd2 (diff) | |
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
Diffstat (limited to 'addons/document/test/document_test2.yml')
| -rw-r--r-- | addons/document/test/document_test2.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/document/test/document_test2.yml b/addons/document/test/document_test2.yml index a8962ac1ae8..3a3b573e4e9 100644 --- a/addons/document/test/document_test2.yml +++ b/addons/document/test/document_test2.yml @@ -66,3 +66,5 @@ 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: } +- |
