1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-31 03:29:03 +01:00
Commit graph

158 commits

Author SHA1 Message Date
Roland Haroutiounian
ae3335deb8 Added a test for the check data functionnality of the Boolean datahandler 2016-08-18 10:58:26 +02:00
Roland Haroutiounian
358c92c7a8 Added a test for the Regex DataHandler's can_override method 2016-08-18 10:31:49 +02:00
Roland Haroutiounian
7850e6c2be Added the test_regex module under version control 2016-08-17 17:26:22 +02:00
Yann
0aec7f6ca8 Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
2016-07-21 14:33:02 +02:00
Yann
52c60a9f63 Bugfixes in XmlFile translator & in base_classes datahandlers 2016-07-21 11:02:40 +02:00
Yann
25a231702e Changed confspec to include Auth specs + em_test modifications 2016-07-07 16:35:28 +02:00
Yann
dd2f93faea A lot of small bugfixes 2016-06-30 17:43:49 +02:00
Yann
703b4adf7e MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain 2016-06-30 14:16:29 +02:00
Yann
557d277186 Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
2016-06-30 11:18:33 +02:00
Yann
69f59baa2c Bugfix on group activation (in EmClasses all fields were always actives) 2016-06-29 15:03:51 +02:00
Yann
ae8d8c05a6 Bugfix on EM groups handling (now we have to set actives groups in settings) 2016-06-29 14:35:12 +02:00
Yann
8ca3b20c0b Updated tests 2016-06-22 13:41:22 +02:00
Yann
ece5029d66 em_test update + bugfix in tests 2016-06-22 11:17:45 +02:00
Yann
d54ef17061 Unskipping and debuging a test 2016-06-16 17:21:14 +02:00
Yann
5ba8fd8e7f em_test update + DataHandler bugfix & enhancement 2016-06-16 16:36:16 +02:00
prieto
d24b7a92d6 Comments for doxygene 2016-06-16 15:34:30 +02:00
Yann
d12d1e2865 Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations 2016-06-16 14:42:35 +02:00
Roland Haroutiounian
2e13ab78bc Changed the mongodb migration handler name to a more generic one 2016-06-16 14:22:19 +02:00
Yann
c6334f903f Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery 2016-06-16 10:57:29 +02:00
Yann
9ccf793127 Add tests for LeDeleteQuery Datasource calls 2016-06-16 10:41:48 +02:00
Yann
33b9ad84c6 Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
2016-06-15 15:05:50 +02:00
Yann
4e504f759e Bufix on LeObject.update + test 2016-06-15 14:07:55 +02:00
Yann
96f736ae16 Bufixes making test pass 2016-06-15 12:19:06 +02:00
Yann
a3b3102604 New way to run test via loader & conf 2016-06-15 12:01:11 +02:00
prieto
28d7c20d44 Modify conf path 2016-06-15 10:49:29 +02:00
Yann
9b5ba54a1e Tests bugfixes 2016-06-15 10:23:16 +02:00
Yann
fcaf9c86ce New version of tests
Now an instance is created, tests are copied in it and the run
2016-06-15 10:13:19 +02:00
Yann
9c23abcdcc Bugfixes on leobject & query 2016-06-10 17:46:24 +02:00
Yann
ece8cd641d Add tests on delete and delete_bundle LeObject methods 2016-06-10 17:27:23 +02:00
Roland Haroutiounian
234f8909f9 Changed the name of the database droping method 2016-06-10 17:21:20 +02:00
Roland Haroutiounian
5a14b0c9f0 Added a utils module in the tests package to collect the commonly used functions
The first ones will be the functions used for the setup and teardown of the datasource based tests
2016-06-10 17:20:30 +02:00
Yann
a306f4c054 More tests on LeObject, this time by mocking the queries classes 2016-06-10 16:54:24 +02:00
Yann
378dfd9766 More test + change 1 exception in LeObject 2016-06-10 16:43:53 +02:00
Yann
0b60023145 More tests on LeObject 2016-06-10 16:30:13 +02:00
Roland Haroutiounian
10e9f4d8ef skipped the unittest for the init_db 2016-06-10 16:22:30 +02:00
Roland Haroutiounian
3091533fd0 added tests for the migration_handler 2016-06-10 16:20:36 +02:00
prieto
a4dd1950e2 Name of exceptions 2016-06-10 15:30:30 +02:00
Yann
77d6fd8df5 More tests on LeOject 2016-06-10 15:12:01 +02:00
Yann
e278200414 More tests on LeObject 2016-06-10 15:05:24 +02:00
Yann
cccabc7ce4 More forgotten files 2016-06-10 14:47:24 +02:00
Yann
976d0c90c8 First tests on LeObjects 2016-06-10 14:46:38 +02:00
Yann
9da19f3665 Moved exceptions + LeUpdateQuery.__query implementation
- The LeUpdateQuery implementation is broken or at least have huge performance issue
- Moved LeObject exceptions and LeQuery exceptions in lodel.leapi.exceptions
2016-06-10 11:27:52 +02:00
Yann
30bc9eec08 Fixing test and EmClass
- Now returning automatic common field classname in fields method
2016-06-10 09:51:53 +02:00
Yann
e9f17eab6e Fixes #79 (and brokes tests of xml translator)
Adding a field to all non abstract classes to store in DB the name of corresponding LeObject subclass
2016-06-09 17:49:14 +02:00
Yann
83afc6b6dd Deleted datasources plugins and add a settings for datasources declaration
- now datasources are declared with two conf keys : read_only and identifier
- the old datasources plugin hook is now declared in lodel/plugin/core_hooks.py. This file is imported after lodel/plugin/hooks.py in the loader.py
2016-06-09 14:35:31 +02:00
Yann
afadd92b3d Fixing tests according to query new behaviour 2016-06-09 10:00:43 +02:00
prieto
b963d34cf1 Added tests plugins 2016-06-08 10:14:52 +02:00
Yann
0f9b07f08a More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
2016-06-07 17:34:26 +02:00
Yann
e55954d947 First test on multi datasource queries + em_test update + query.py debug
- Modified again the em_test to fit with testing purpose
- First test on multi datasource query written
- debugging of query.py
2016-06-07 15:55:45 +02:00
Yann
b8d5b5bba2 Completing em_test modifications + completing the dump_infos method of LeFilteredQuery
- adding an EmClass to make a double link between indexes and texts
- adding subqueries infos to dump_infos method of LeFilteredQuery
2016-06-07 14:45:29 +02:00