Document: start some trivial tests.
bzr revid: p_christ@hol.gr-20100701175130-bs2rx4w81ck6gh9l
This commit is contained in:
parent
3f4d6dd95d
commit
ad1253c96b
|
@ -2,8 +2,18 @@
|
|||
In order to test the document management
|
||||
-
|
||||
I make sure the default installation has some storage and root directory.
|
||||
-
|
||||
!assert {model: document.storage, id: storage_default }:
|
||||
- id != False
|
||||
-
|
||||
!assert {model: document.directory, id: dir_root}:
|
||||
- storage_id != False
|
||||
-
|
||||
I create a "Testing" folder where all the test data will go.
|
||||
-
|
||||
!record {model: document.directory, id: dir_tests }:
|
||||
name: 'Testing'
|
||||
parent_id: dir_root
|
||||
-
|
||||
I create an attachment into the root folder (w. empty fields, test that
|
||||
defaults work)
|
||||
|
|
Loading…
Reference in New Issue