Cédric Krier
1655c56c82
Remove support of zipped modules
2011-05-26 15:21:15 +02:00
Nicolas Évrard
75d22650a9
Separate option handling in two methods for issue1911
2011-05-05 10:53:56 +02:00
Cédric Krier
c010b3df82
Fix test view to skip view without model like dashboard
2011-04-04 10:44:16 +02:00
Cédric Krier
b22951fecb
Improve digits test on Decimal for issue1870
2011-03-23 15:13:28 +01:00
Cédric Krier
6d537996cb
Fix unicity of tests
...
__eq__ method on DocTestCase doesn't work see
http://bugs.python.org/issue7502
2011-01-30 11:48:10 +01:00
Cédric Krier
65a3f3f837
Reduce domain before applying active rule for issue1796
2011-01-28 10:34:43 +01:00
Cédric Krier
2b4098f1d2
Add model field access
2011-01-22 23:56:13 +01:00
Cédric Krier
1358b8d2c2
Fix Decimal for doctest
2011-01-18 21:02:56 +01:00
Cédric Krier
f62d4c8def
merge
2010-12-19 23:53:12 +01:00
Cédric Krier
54e2a3fd0b
Fix maxint to work on amd64
2010-12-19 23:37:42 +01:00
Cédric Krier
1c5cf4045d
Put the DocTestCase at the end of suite because they drop the database
2010-12-19 18:47:05 +01:00
Cédric Krier
942fa7ac92
Rollback cursor after exception in one2one tests
2010-12-04 15:37:19 +01:00
Cédric Krier
0d1c43b6ed
Add One2One field
2010-12-03 18:01:46 +01:00
Cédric Krier
9f3986e7e3
Add values for all fields_names when singleton doesn't exist
2010-12-03 17:23:51 +01:00
Cédric Krier
d9636351ec
Improve test on read of ModelSingleton to return only one value
2010-12-03 17:23:05 +01:00
Cédric Krier
f60f2d694e
Add test on Float
2010-10-03 18:29:04 +02:00
Cédric Krier
d1475e74f9
Fix sequence test for MySQL
...
MySQLdb always return a long and hex append 'L' when converting long so long
must be converted into int before calling hex.
2010-09-25 16:46:51 +02:00
Cédric Krier
56e8ebe5d0
Add timestamp sequence
2010-09-02 17:31:51 +02:00
paul@nfg.nl
7218c97757
Enforce install_module test_view and add test
2010-08-18 14:43:50 +02:00
Cédric Krier
b6e027b19e
Add missing with_statement import
2010-08-20 07:48:02 +02:00
Cédric Krier
df1fd283ac
New transaction management
...
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier
0c7b1f1fe4
Fix DateTime microsecond replacement
...
replace method return a new datetime
2010-07-04 22:56:23 +02:00
Cédric Krier
ee2260c839
Fix Float unittest for Python < 2.6 that doesn't have hex method
2010-06-08 07:55:01 +02:00
Cédric Krier
1346249cc3
Fix Float for Python < 2.6 and handle extra methods on Decimal
2010-06-07 21:27:49 +02:00
Cédric Krier
ed1965f4bf
Extend Float to work with Decimal for issue1575 thanks to gadaga
2010-06-06 11:30:33 +02:00
Cédric Krier
e8c74cbd67
Fix typo in trigger unittest
2010-06-05 10:05:58 +02:00
Cédric Krier
1513426987
Add ir.trigger to trigger ModelStorage change
2010-05-29 15:58:49 +02:00
Cédric Krier
8c6537bafb
Fix wrong password for database creation in tests
2010-05-28 20:29:16 +02:00
Cédric Krier
8476533e1e
Add default logging configuration for tests
2010-03-26 18:29:13 +01:00
Cédric Krier
8ec67b1eba
merge
2010-03-17 11:51:34 +01:00
Cédric Krier
2e2227d795
Improve search on translatable fields for issue1442
2010-03-17 11:50:52 +01:00
Cédric Krier
dab0df51de
export_data return empty value for invisible fields
2010-03-17 11:43:21 +01:00
Cédric Krier
48f20c1bd0
Use tests instead of test_xxx as test module to run suite
...
This generalizes the usage of suite function
2010-03-14 14:56:51 +01:00
Cédric Krier
0505205179
Avoid transaction lock when creating database in unittest
2010-03-13 09:24:01 +01:00
Cédric Krier
9eedc60aa0
Improve unittest to run test_suite inside setuptools
2010-03-12 17:47:49 +01:00
Cédric Krier
8ea533585b
Better management of cursor in install_module test
2010-03-12 12:21:58 +01:00
Cédric Krier
437099ddbf
Fix float test to use 16 significant digits
2010-03-12 12:20:59 +01:00
Cédric Krier
8951e54c86
Add decimal digits validation on fields and fix Float and Numeric for lost of precision
2010-03-11 15:27:40 +01:00
Cédric Krier
3537d7fc4e
Add workaround for old version of TestCase
...
Old version of TestCase has no __eq__ function
2010-03-04 19:49:15 +01:00
Cédric Krier
c185cc309d
Add missing some cursor close and rollback in unittests
2010-03-04 16:20:56 +01:00
Cédric Krier
20741b613d
Improve unittests to run trytond from tests
...
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-03-04 14:02:27 +01:00
Cédric Krier
47809e3bf7
Add support for datetime in pyson encoder
2010-02-23 15:43:39 +01:00
Cédric Krier
a8c374617e
Refactor import_data of ModelStorage thanks to h.goebel
...
- translate error message
- handle numeric, date, datetime, reference fields
- improve relation search, fail if too much is found
- add unittest
- add escapechar '\' for ',' in many2many list
2010-02-03 15:59:10 +01:00
Cédric Krier
847fb72e90
Add PySON to replace python string evaluation on client side
2010-01-20 10:55:19 +01:00
Cédric Krier
2a4b1977cf
Fix wrong use of assertRaises and use assert
2010-01-17 21:22:00 +01:00
Cédric Krier
84d5b669f5
Fix reduce_ids with empty list
2009-12-21 16:09:18 +01:00
Cédric Krier
cae0a76a3d
Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:39:54 +01:00
Cédric Krier
35b6c0b151
Add unittest for DateTime field
2009-11-10 14:01:00 +01:00
Bertrand Chenal
b82bb6eecb
Added unit tests for date field
2009-11-06 18:40:07 +01:00
Bertrand Chenal
9ac17bae3e
Typos
2009-11-06 15:50:37 +01:00