Commit Graph
14 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) 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 bc7871e2f9 doc ftp: some assertions, close ftp sessions at YML tests
bzr revid: p_christ@hol.gr-20101103112605-dq8jthkma78ccmcj
2010-11-03 13:26:05 +02: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
Jay (OpenERP) 8234754761 [REF] Document_ftp
bzr revid: jvo@tinyerp.com-20100927170856-cm4lt3ykxdrldmzs
2010-09-27 22:38:56 +05:30
P. Christeas 6b70730393 Doc ftp: improve yaml tests, assert messages
bzr revid: p_christ@hol.gr-20100827073952-j8eg9p1dndviwknn
2010-08-27 10:39:52 +03:00
P. Christeas 10eea23109 Document tests: remove last, empty block
This just suppresses a warning.

bzr revid: p_christ@hol.gr-20100713205421-th0c0vuohsum3vj8
2010-07-13 23:54:21 +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 950058dae3 Document FTP: fix yaml tests.
bzr revid: p_christ@hol.gr-20100706121053-5a9z29ub8hrnpqo9
2010-07-06 15:10:53 +03:00
P. Christeas 45b7a3adc3 Document FTP: improve the tests
Now, a non-existing path will return 550, an exception.

bzr revid: p_christ@hol.gr-20100702215304-7l2pit3ceih3wvo9
2010-07-03 00:53:04 +03:00
P. Christeas 35c932d76a Document FTP: write Yaml tests, have special helper module.
bzr revid: p_christ@hol.gr-20100701224249-fmble80t8nlg2azq
2010-07-02 01:42:49 +03:00
P. Christeas 0c0a6dcd7f Document FTP: one more test case, skeleton.
bzr revid: p_christ@hol.gr-20100629140134-38zbsp7pvw1svgfv
2010-06-29 17:01:34 +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