Roberto Rosario
a4a12b0cfe
Fix tests
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 21:09:36 -04:00
Roberto Rosario
cf697d3ea7
Fix tests
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 21:06:38 -04:00
Roberto Rosario
58bcf20a46
Remove tests * imports
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-08-29 23:10:28 -04:00
Roberto Rosario
a0d2000419
Test simplification
...
Unify usage of self.test_document and self.test_documents in
tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 00:54:59 -04:00
Roberto Rosario
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
29f81b2087
Convert language choices into a function
...
Move language choices generation to documents.utils.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 15:55:47 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
a99b044555
Code style improvement. Test code consolidation. PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 02:13:36 -04:00
Roberto Rosario
4ae7a32443
Update OCR app tests to work with Python 3.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-06 16:59:38 -04:00
Roberto Rosario
ffbac43293
Fix failing OCR test.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-03 14:42:55 -04:00
Roberto Rosario
922492169f
Fix typos in tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-17 21:18:56 -04:00
Roberto Rosario
5ea31554bc
Update and fix failing tests.
2017-01-14 03:08:32 -04:00
Roberto Rosario
43d2539c95
Update OCR backend to work with the new document image caching system.
2016-11-02 05:05:25 -04:00
Roberto Rosario
5ac1276f25
Add base test class that includes unclaimed temporary and file descriptor test mixins. GitLab issue #309 .
2016-06-27 19:20:42 -04:00
Roberto Rosario
cbc1f12bf6
Simplify tests teatDown method.
2015-11-01 02:57:55 -04:00
Roberto Rosario
41ede494db
Add API views to submit documents for OCR and to retrieve document page OCR content.
2015-10-06 23:22:08 -04:00
Roberto Rosario
4fb86fba14
Re-estructure tests to cleanup the apps' namespace.
2015-08-18 23:06:26 -04:00