Commit Graph

70936 Commits

Author SHA1 Message Date
Bo Maryniuk
88ab5f4755 Fix Python3 compat (StringIO) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f1d0961e69 Fix boolean comparison 2016-07-06 10:09:14 +02:00
Bo Maryniuk
dc53267c97 Bugfix: return boolean value True if an object has been updated 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f275378e24 Add unit test for update an object 2016-07-06 10:09:14 +02:00
Bo Maryniuk
6174f4ad4a Fix imports 2016-07-06 10:09:14 +02:00
Bo Maryniuk
bf9ba65489 Add unit test for deleting objects 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1ce88be0ef Add unit test for criteria matcher 2016-07-06 10:09:14 +02:00
Bo Maryniuk
a20019d859 Add unit test for "matches" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
844eefd758 Add unit test for "less than" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fac88ac41b Add unit test for "equals" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1dfe81bfe6 Add unit test for "more than" criteria selector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fcea03044b Bugfix: more than and less than should not take equal as. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
99848659c9 Add unit test on getting objects 2016-07-06 10:09:14 +02:00
Bo Maryniuk
bc1a8b7e45 Accept content in Writer 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c4c2ac7e70 Add object storing unit test 2016-07-06 10:09:14 +02:00
Bo Maryniuk
9d055023af Add code author string 2016-07-06 10:09:14 +02:00
Bo Maryniuk
8e537ccc9e Reset data in Writable 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c744aa1caf Add unit test for database listing 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f7dc2b9c84 Add unit test for object validation 2016-07-06 10:09:14 +02:00
Bo Maryniuk
234e342aa7 Add unit test for object serialization 2016-07-06 10:09:14 +02:00
Bo Maryniuk
0a177297f4 Rename Writable class 2016-07-06 10:09:14 +02:00
Bo Maryniuk
8927d6fef6 Rename "TestEntity" as it accidentally picked by PyTest 2016-07-06 10:09:14 +02:00
Bo Maryniuk
4c7e4d36b7 Fix docstring 2016-07-06 10:09:14 +02:00
Bo Maryniuk
1df6b0a6a9 Add test creating table 2016-07-06 10:09:14 +02:00
Bo Maryniuk
54e5655e11 Add unit test for database close 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f9c40170e5 Add initial tests for fsdb 2016-07-06 10:09:14 +02:00
Bo Maryniuk
eff3f4ef66 Fix broken tests: add os.mkdir mocking 2016-07-06 10:09:14 +02:00
Bo Maryniuk
e85343df9b Add licence to the inspector collector unit test 2016-07-06 10:09:14 +02:00
Bo Maryniuk
692c322098 Switch the main point to fsdb 2016-07-06 10:09:14 +02:00
Bo Maryniuk
26da61725a Remove SQLite completely 2016-07-06 10:09:14 +02:00
Bo Maryniuk
22a3dd4410 Remove querying SQLite 2016-07-06 10:09:14 +02:00
Bo Maryniuk
7a379fe969 Fix lint 2016-07-06 10:09:14 +02:00
Bo Maryniuk
6689642446 Move querying the configuration files from SQLite to fsdb. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
0ff9b7b373 Move table initialization to the constructor 2016-07-06 10:09:14 +02:00
Bo Maryniuk
56de4c6c0c Fix the variable naming (remove shadowing) 2016-07-06 10:09:14 +02:00
Bo Maryniuk
22480bfe80 Fix docstring 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fde3a5719e Implement object update 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f301281a66 Remove update mode from storing function 2016-07-06 10:09:14 +02:00
Bo Maryniuk
30df4b54e8 Return boolean if data has been deleted 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5db726bdf4 Implement getting objects by a query criteria 2016-07-06 10:09:14 +02:00
Bo Maryniuk
7623ac6d0a Implement distinct storage 2016-07-06 10:09:14 +02:00
Bo Maryniuk
fb97b4694f Implement object delete. This re-flushes the whole database via in-memory. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
b6bc4dc934 Implement criteria matcher 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5a9b174e3e Put ignored and allowed directories into the CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
960b9b4ec1 Get allowed and ignored directories from the CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
c8422dc032 Init CsvDB 2016-07-06 10:09:14 +02:00
Bo Maryniuk
327a3d8b5f Move entities to a separate module 2016-07-06 10:09:14 +02:00
Bo Maryniuk
3016f3bb03 Merge two db operations on collector 2016-07-06 10:09:14 +02:00
Bo Maryniuk
5358e42e44 Do not flush tables. 2016-07-06 10:09:14 +02:00
Bo Maryniuk
f78a463113 Implement configuration files saving 2016-07-06 10:09:14 +02:00