Commit Graph
12 Commits
Author SHA1 Message Date
Vo Minh Thu 3aa47b7075 [FIX] document_ftp: tests: smash those tests with lots of commits.
(Otherwise changes happening on one cursor are not visible to the other one.)
Normally, as those yaml files commit(), they sould be inside demo data
instead of tests. But really we want to test a completely initialized
database, not being executed while the database is being initialized
(as the demo data are). This is just a matter of convention as the
tests are only executed when you also install demo data.

bzr revid: vmt@openerp.com-20111007091737-2dzocv2rgm2gfbi2
2011-10-07 11:17:37 +02:00
atp (Open ERP) 9a3416b95f [FIX]: Fix some problem in caldav and Minor Improvement.
bzr revid: atp@tinyerp.co.in-20101122104316-2veko2vubv3w9oml
2010-11-22 16:13:16 +05:30
atp (Open ERP) e2345c2cff [IMP]: Minor Improvement in document_ftp yaml.
bzr revid: atp@tinyerp.co.in-20101119051913-02kbtpc3862qh2zw
2010-11-19 10:49:13 +05:30
atp (Open ERP) 9d8d8110d7 [FIX]: Remove dir and File from yaml of document_ftp module.
bzr revid: atp@tinyerp.co.in-20101118152052-76bumjsycl9vk2o7
2010-11-18 20:50:52 +05:30
P. Christeas d1ee286bcb doc ftp: yaml tests for files/folders in wrong dirs.
bzr revid: p_christ@hol.gr-20101027102323-jtiwjjr52lht0dvr
2010-10-27 13:23:23 +03:00
P. Christeas 034a4166c9 doc ftp: unlink the YAML testing directories, too
bzr revid: p_christ@hol.gr-20101012103937-dtgq5tzthu9pdldz
2010-10-12 13:39:37 +03:00
P. Christeas 725bbee01d Doc ftp: Cleanup after yaml tests
bzr revid: p_christ@hol.gr-20101012103937-2jdkd7gkr1u86p48
2010-10-12 13:39:37 +03:00
P. Christeas 8ed519b800 Doc ftp: Fix yaml test to follow expected behaviour
The document.directory has the "resource_find_all" flag, which now
defaults to True and means that a new doc in a resource folder will
have the *root* Documents as a parent. Fix the test to expect that
behaviour.

bzr revid: p_christ@hol.gr-20100828141852-pyvd24rh1rptqf5f
2010-08-28 17:18:52 +03:00
P. Christeas 0e8b07f490 Document ftp: have timeout at tests, skip if server is not available.
At trunk-xrg, the FTP daemon is only started *after* the db is loaded,
which means that it will not be available for tests on a server upgrade.
(still, tests can be performed through the base_module_record's importer)

Anyway, it is not wise to block the server startup if FTP doesn't
respond.

bzr revid: p_christ@hol.gr-20100713103016-33gu4o7yvkn7hmnd
2010-07-13 13:30:16 +03:00
P. Christeas 74b2dcfd80 Document ftp: Only test with 200 files, todo comment.
bzr revid: p_christ@hol.gr-20100709082356-p6xij5d22spqxrrx
2010-07-09 11:23:56 +03:00
P. Christeas 24fa87a6ae Document ftp: tests for dynamic folders.
We pass a few of them, but some functional issues are apparent.

bzr revid: p_christ@hol.gr-20100702081109-p6zl07eayj65rqs8
2010-07-02 11:11:09 +03:00
P. Christeas 4d99b09045 Document, FTP: text skeleton of trivial yaml tests.
bzr revid: p_christ@hol.gr-20100629140049-dowvybyjh6bncyrb
2010-06-29 17:00:49 +03:00