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
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
2b0b9675fd
Remove unused UTF file markers
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 03:10:20 -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
74628ab04b
Improve the document base test case for models and for views. Add document test mixin.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 04:00:05 -04:00
Roberto Rosario
b77c7bba30
Make document type creation optional but default to true in the generic document view test base class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-06 01:13:59 -04:00
Roberto Rosario
ebe9633665
Auto upload a document when using the generic document test case but give subclasses the choice to disable it.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 19:47:29 -04:00
Roberto Rosario
57e7722f59
Don't show documents with 0 duplicates in the duplicated document list.
...
Also clean up the duplicated document model after a document is deleted.
Fix queue name typo.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 01:45:30 -04:00
Michael Price
ed8cdb9da4
Fix failing document parsing tests.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:23:13 -04:00
Michael Price
0a480066df
Reorganize common's base test class.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:20:37 -04:00
Michael Price
96836065a8
Split document.tests.test_views.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:19:07 -04:00