1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-04-11 12:29:58 +02:00
Commit graph

1,357 commits

Author SHA1 Message Date
Roland Haroutiounian
1ccd19c43c starting the implementation of the init all dbs script (makefile and function declaration) 2016-06-16 14:48:18 +02:00
Roland Haroutiounian
56e2dc1d5f Code cleaning in the migration handler 2016-06-16 14:48:18 +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
prieto
6db8ef8404 Add Concat datahandler 2016-06-16 14:20:25 +02:00
prieto
2e01764b67 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-06-16 14:19:53 +02:00
Yann
3128b17be8 Bugfixes in datahandlers base_classes.py 2016-06-16 14:16:43 +02:00
Roland Haroutiounian
12006b11ab Added a condition on the class of the datasource for the classes used in the init_collection_names 2016-06-16 12:01:59 +02:00
prieto
0154d7bdc4 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-06-16 11:52:40 +02:00
Yann
c6334f903f Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery 2016-06-16 10:57:29 +02:00
Yann
df8e38d9a9 Bugfix in leapi_dyncode import for migration handler 2016-06-16 10:42:56 +02:00
Yann
9ccf793127 Add tests for LeDeleteQuery Datasource calls 2016-06-16 10:41:48 +02:00
Roland Haroutiounian
67ce738578 Gets the initial collection names from the dynamic code 2016-06-16 10:06:23 +02:00
Roland Haroutiounian
84cddbf67f Changed the init_db method in the admin module of the scripts package to use an editorial model as argument 2016-06-16 09:03:58 +02:00
prieto
2bd1cbdc61 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-06-16 08:44:23 +02:00
prieto
db835cd61e Debug 15/06 2016-06-16 08:44:07 +02:00
Roland Haroutiounian
46732d6ce0 fixed a method call in the migration handler 2016-06-15 18:37:43 +02:00
Roland Haroutiounian
9ee52042bd Init collection names are dynamically defined in the migration handler 2016-06-15 17:36:52 +02:00
Roland Haroutiounian
74463649da Added the editorial model in the init of the migration handler 2016-06-15 17:20:45 +02:00
Yann
ee06ccf1eb Bugfix in webui plugin
Avoid useless impossible import by putting confpsec in a dedicated file
2016-06-15 17:18:35 +02:00
Roland Haroutiounian
1b9cb1a72d Changed the routing rules naming system 2016-06-15 16:52:22 +02:00
Roland Haroutiounian
77a857be5e Bug fix on the migration_handler's register change method 2016-06-15 16:49:17 +02:00
Roland Haroutiounian
510c4f29de An unused import is deleted 2016-06-15 16:49:17 +02:00
Yann
79cd9b21b1 Bugfixes in MongoDb datasource
- bugfixes in connection string generator
- bugfixes in garbage collection of opened connections
2016-06-15 16:38:56 +02:00
Yann
1ea9269742 Small bugfixes in leobject and validator
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
2016-06-15 16:37:11 +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
22dbedf781 Test runner enhancement
Now it support -v and -f options (kind of dirty support for the moment...)
2016-06-15 12:10:07 +02:00
Yann
0404ded91f Small fixe in runtest 2016-06-15 12:05:50 +02:00
Yann
59e33b9a68 Bugfixes in query, in the execute method 2016-06-15 12:01:33 +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
prieto
7c5ebc3035 self.__namein delete 2016-06-15 10:17:03 +02:00
prieto
410ecef0fe Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-06-15 10:16:15 +02:00
prieto
27985b8411 O 2016-06-15 10:15:35 +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
prieto
69c3001b1b __ instead of _ 2016-06-15 10:01:40 +02:00
prieto
11328fca29 Correction 2016-06-15 09:54:32 +02:00
prieto
96aa360702 Remove conflictsMerge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
Conflicts:
	lodel/leapi/leobject.py
	lodel/leapi/query.py
2016-06-15 09:52:46 +02:00
prieto
c3e62e57be Corrections 2016-06-15 09:49:33 +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
prieto
669ec976a4 Corrections __init 2016-06-10 17:24:31 +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
Roland Haroutiounian
ca6af9432b Split of the connect function to create a connection function that return a MongoClient object
This is used for the tests that needs to have access to a connection to be able to drop the test databases
2016-06-10 17:20:30 +02:00
prieto
53ad4dcbc0 Adding import warnings 2016-06-10 17:16:59 +02:00
prieto
96f35011fa Datas_base 2016-06-10 17:08:12 +02:00