Yann Weber
25a231702e
Changed confspec to include Auth specs + em_test modifications
il y a 8 ans
Yann Weber
dd2f93faea
A lot of small bugfixes
il y a 8 ans
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
il y a 8 ans
Yann Weber
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
il y a 8 ans
Yann Weber
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
il y a 8 ans
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
il y a 8 ans
Yann Weber
8ca3b20c0b
Updated tests
il y a 8 ans
Yann Weber
ece5029d66
em_test update + bugfix in tests
il y a 8 ans
Yann Weber
d54ef17061
Unskipping and debuging a test
il y a 8 ans
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
il y a 8 ans
prieto
d24b7a92d6
Comments for doxygene
il y a 8 ans
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
il y a 8 ans
Roland Haroutiounian
2e13ab78bc
Changed the mongodb migration handler name to a more generic one
il y a 8 ans
Yann Weber
c6334f903f
Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery
il y a 8 ans
Yann Weber
9ccf793127
Add tests for LeDeleteQuery Datasource calls
il y a 8 ans
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
il y a 8 ans
Yann Weber
4e504f759e
Bufix on LeObject.update + test
il y a 8 ans
Yann Weber
96f736ae16
Bufixes making test pass
il y a 8 ans
Yann Weber
a3b3102604
New way to run test via loader & conf
il y a 8 ans
prieto
28d7c20d44
Modify conf path
il y a 8 ans
Yann Weber
9b5ba54a1e
Tests bugfixes
il y a 8 ans
Yann Weber
fcaf9c86ce
New version of tests
Now an instance is created, tests are copied in it and the run
il y a 8 ans
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
il y a 8 ans
Yann Weber
ece8cd641d
Add tests on delete and delete_bundle LeObject methods
il y a 8 ans
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
Yann Weber
a306f4c054
More tests on LeObject, this time by mocking the queries classes
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
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
a4dd1950e2
Name of exceptions
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
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
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
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
il y a 8 ans
Yann Weber
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
il y a 8 ans
Yann Weber
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
il y a 8 ans
Yann Weber
afadd92b3d
Fixing tests according to query new behaviour
il y a 8 ans
prieto
b963d34cf1
Added tests plugins
il y a 8 ans
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
il y a 8 ans
Yann Weber
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
il y a 8 ans
Yann Weber
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
il y a 8 ans
Yann Weber
d6fbc5cfd1
Test editorial model updated to use two different datasources
- defining a new datasource named dummy2 in both tests conf and install/conf.d
- adding two class using the new datasource in em_test.py
- index : abtract class representing indexes (two fields, name & content)
- indextheme : thematic index, inheriting from index but with one more field "theme"
il y a 8 ans
Yann Weber
a91d25e392
Begin implementation of cross datasource reference query
- The set_query_filter() method handles subquery creation
- The run isn't written yet...
il y a 8 ans
prieto
73d911f091
Adding a new class methos in plugins.pyto clear the class variables
Adding tests for the Plugin class
il y a 8 ans
Yann Weber
63a85eb85c
Bugfix in xmfile translator tests (path problem)
Using the conf to load emtests.pickle
il y a 8 ans
prieto
ce9684e330
Path correction
il y a 8 ans