Yann Weber
1ba59c513e
Deleted obsolete test file
9年前
ArnAud
95deb4574e
SQL datasource: insert method for relations
9年前
ArnAud
ceef5f4b9b
SQL: table name are lowercase
9年前
Yann Weber
1782153774
Add a test_query to the datasource select test method
The query is something like Textes.select(fields = ['lodel_id', 'titre'], filters = ['lodel_id = 42', 'soustitre = "foobar"'])
9年前
Yann Weber
f911a389de
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
9年前
Yann Weber
9e5e8a8433
Move test directory in MySQL for MySQL tests
9年前
Roland Haroutiounian
4af1606b04
Added a first implementation of the set_rank method in LeRelation
9年前
Yann Weber
0e54a47399
Add first tests on MySQL datasource ( mock party ! )
A test on datasource __init__ method
A test on datasource insert method (for leobject inserts only) <= this test uses a lot of mocks and can maybe be factorised
9年前
Roland Haroutiounian
5a21025d89
Added a _parse_rank method in LeRelation and the corresponding tests
9年前
Yann Weber
339545e89a
Add some tests for LeCrud utils methods
9年前
ArnAud
1a2c0f6a45
sqlDatasource: insert() for a hierarchical relation
9年前
Yann Weber
67dbe5c097
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
9年前
Yann Weber
bde008a68c
Updated lefactory (unused attr in relations)
9年前
Yann Weber
117ecad86a
Bugfix in super calls + tests modification given modifications in _prepare_filters
9年前
Yann Weber
59d489bd67
Implements delete instance methods for relations classes
9年前
ArnAud
24888085e9
crud.get(): automatic filter for classes and types instances
9年前
Roland Haroutiounian
b02030b9fa
[#87 ] deleted a "pass" instruction
9年前
Yann Weber
4b4e465bb6
Implements utils function in LeType add_superior (hierarchy) and link_with (rel2type) and add a forgotten file
Implements a utils method in _LeRel2Type to fetch a rel2type leapi class name given a superior and a subordinate
9年前
Roland Haroutiounian
71443679d5
[87] delete method from LeRelation can now take a string as parameter for the target_class
9年前
Yann Weber
4383606fbb
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
9年前
Roland Haroutiounian
d5169cf9a1
[#87 ] Added the delete method to LeRelation
9年前
Yann Weber
40f83d57e7
Add a Makefile for common operations (like check, clean, make doxygen doc, upgrade with pip etc)
9年前
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
9年前
Yann Weber
5c1e89f890
Associating exceptions with field name in error lists ( cf. #89 )
9年前
Yann Weber
6a6326831a
Upgrade type check in leo fieldtype + unskip some tests
9年前
Roland Haroutiounian
a188aa09f8
Unskipped the test_get method in the LeHierarch test case class
9年前
Roland Haroutiounian
5116ed0986
Unskipped the unit test on LeRelationTestCase for _prepare_filters method
9年前
Yann Weber
e868055e75
Updated tests on update methods
9年前
Roland Haroutiounian
6817d3e010
First implementation of the _prepare_filters method in LeRelation class
9年前
ArnAud
3167f17160
ledatasourcesql: implement Letype.update()
9年前
Yann Weber
f98b15bdb9
More tests for LeRel2Type
A get fails test
9年前
Yann Weber
b54e46a09b
Update _LeClass __init__ + first test for LeRel2Type
9年前
Yann Weber
4ab9c124a0
Add tests for update and delete methods of LeRelation and LeHierarch
Almost all LeRelation and LeHierarch main features are covered by unit tests
9年前
ArnAud
2b87c1ce86
ledatasourcesql: use del in python, not PHP's unset ;)
9年前
Yann Weber
90173e9dea
Added multiples tests on types in _LeCrud + check given class when inserting
9年前
Yann Weber
a0a83ad19b
Add test + small bugfixes in fieldtypes + implementations of short utils methods
9年前
ArnAud
142f2ff3f5
LeCrud: is_letype() and is_leclass() helper functions + use it in LeDataSourceSQL
9年前
ArnAud
a5efcdbfd8
SQL datasource: implement LeClass.get() and LeType.get()
9年前
Yann Weber
6634ae34ef
Bugfix on LeRelation fieldtypes
9年前
Yann Weber
10b8a1873a
Updated LeRelation default field list (nature is not internal automatic)
9年前
Yann Weber
6da730f782
Write some test for LeRelation + __eq__ for LeObject + import bugfix in LeRelation
The test are skipped and can be unskipped as soon as LeRelation._prepare_filters() is implemented
9年前
Yann Weber
1cd5998a88
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
9年前
Roland Haroutiounian
598af04b4c
Corrected the LeApiQueryError import in LeRelation module
9年前
Yann Weber
967be41ede
Disabled tests on LeDatasource SQL
9年前
Yann Weber
61786cc71e
Updated generated code with LeRel2Type child classes
9年前
Yann Weber
8cff059ab3
More on LeRelation fieldtypes leo and naturerelation
9年前
Yann Weber
798ad5a68e
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
9年前
ArnAud
9d16c6a4c8
SQL datasource: implement get() from LeObject
9年前
Yann Weber
df40d5f17d
Updated fieldtypes to make easier the check_data_value inheritance
9年前
Yann Weber
9cc1e8ab96
Started LeRelation and childs implementation
Begin to work on fieldtypes
9年前