Roland Haroutiounian
234f8909f9
Changed the name of the database droping method
il y a 8 ans
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
il y a 8 ans
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
il y a 8 ans
prieto
53ad4dcbc0
Adding import warnings
il y a 8 ans
prieto
96f35011fa
Datas_base
il y a 8 ans
prieto
4acb7832ff
Coorecting dats_base
il y a 8 ans
prieto
d06d5cd24b
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
b8b740ebd3
Adding _check_data_value methods for all types
il y a 8 ans
Yann Weber
a306f4c054
More tests on LeObject, this time by mocking the queries classes
il y a 8 ans
prieto
a5474695a8
correct an error of keyboard
il y a 8 ans
prieto
955e327215
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
8806738bba
correct lequery execute
il y a 8 ans
Yann Weber
378dfd9766
More test + change 1 exception in LeObject
il y a 8 ans
Yann Weber
0b60023145
More tests on LeObject
il y a 8 ans
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
il y a 8 ans
Roland Haroutiounian
10e9f4d8ef
skipped the unittest for the init_db
il y a 8 ans
Roland Haroutiounian
3091533fd0
added tests for the migration_handler
il y a 8 ans
prieto
d4a5ee3433
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
45f09240f7
Coorecting error by passing cls to query
il y a 8 ans
Roland Haroutiounian
3ba9d9a4fe
Added a first init_db command in scripts/admin
il y a 8 ans
prieto
a4dd1950e2
Name of exceptions
il y a 8 ans
prieto
754a5b7baa
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
521f81728d
Correction raise LeApiErrors
il y a 8 ans
Roland Haroutiounian
a37fc6da2d
Added connection arguments check
il y a 8 ans
Yann Weber
77d6fd8df5
More tests on LeOject
il y a 8 ans
Yann Weber
e278200414
More tests on LeObject
il y a 8 ans
Roland Haroutiounian
6fa7f8848f
Added an empty connection args check to the migration handler
il y a 8 ans
prieto
d5f0f9fd16
Corrections of a method name
il y a 8 ans
Yann Weber
cccabc7ce4
More forgotten files
il y a 8 ans
Yann Weber
976d0c90c8
First tests on LeObjects
il y a 8 ans
Yann Weber
ca3fa4cc27
Forgotten files
il y a 8 ans
Roland Haroutiounian
953e1447f4
deleted a useless import
il y a 8 ans
prieto
0d95a9e7ae
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
8bee875d27
Method load
il y a 8 ans
Yann Weber
9a82936fbf
Datasources plugins enhancement and loading bugfixes
- now we have a LodelHook to trigger migration handlers loading
- datasources initialization in dyncode is now trigger by a hook (lodel2_plugin_loaded)
- datasources loading by dyncode is better
il y a 8 ans
Yann Weber
785a208d07
LodelHook logging enhancement
il y a 8 ans
prieto
b39c279437
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
30b939f158
New load method
il y a 8 ans
Roland Haroutiounian
417ce0258a
Added a default connection check in the _activate function of the mongodb datasource, to see if the plugin can connect
il y a 8 ans
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
il y a 8 ans
Yann Weber
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
il y a 8 ans
Roland Haroutiounian
5f9581679d
Deleted a useless import in the init of the mongodb datasource plugin
il y a 8 ans
Roland Haroutiounian
8ca2869bbd
PEP8 and deleted the import of the mongodbconnect function in the mongodb datasource
il y a 8 ans
Roland Haroutiounian
632381eabe
function name correction
il y a 8 ans
prieto
2c36c7d46e
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
021a99fd1f
A small correction
il y a 8 ans
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
il y a 8 ans
prieto
1487356db8
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
il y a 8 ans
prieto
7c3ca2acd8
Added links with LeQuery
il y a 8 ans
Roland Haroutiounian
c1627dd928
Commented temporarily the mongodbconnect function (replaced by the connect function in the same module
il y a 8 ans