cleanup tests
bzr revid: al@openerp.com-20121217014519-fwr5otel8qwlevaz
This commit is contained in:
parent
76ce1a2972
commit
92e8304acb
|
@ -5,7 +5,6 @@
|
|||
-
|
||||
!record {model: 'document.directory', id: dir_partner_label}:
|
||||
name : "Partner Labels"
|
||||
storage_id : storage_default
|
||||
type : ressource
|
||||
content_ids:
|
||||
- name: "Label"
|
||||
|
@ -22,7 +21,6 @@
|
|||
-
|
||||
!record {model: 'document.directory', id: directory_1}:
|
||||
name : "Directory 1"
|
||||
storage_id : storage_default
|
||||
type : directory
|
||||
-
|
||||
In order to make a directory hierarchy in OpenERP I will make other static directory "Directory 2" and I put its Parent Item as "Directory 1",
|
||||
|
@ -30,7 +28,6 @@
|
|||
-
|
||||
!record {model: 'document.directory', id: directory_2}:
|
||||
name : "Directory 2"
|
||||
storage_id : storage_default
|
||||
type : directory
|
||||
parent_id : directory_1
|
||||
-
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
-
|
||||
In order to test the document management I make sure the default installation has some storage.
|
||||
-
|
||||
!assert {model: document.storage, id: storage_default }:
|
||||
- id != False
|
||||
-
|
||||
I make sure the default installation has some root directory.
|
||||
-
|
||||
!assert {model: document.directory, id: dir_root}:
|
||||
- storage_id != False
|
||||
-
|
||||
I create a "Testing" folder where all the test data will go.
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue