Roberto Rosario
d41fe1b701
Fix assertEquals warning
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-13 23:28:58 -04:00
Roberto Rosario
8084b59e6e
New way to test orphan objects
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 22:25:10 -04:00
Roberto Rosario
8b2f5eaf69
Update ACLs tests to use ephimeral models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 21:35:56 -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
50be0ad889
Remove obsolete ACL view test
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:14:20 -04:00
Roberto Rosario
0188afcd54
Consolidate repeated test user logins
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 23:14:16 -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
41b8d6157a
Update tests to rely less on view response text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 03:50:37 -04:00
Michael Price
de65d96fe2
Update cabinets and document_index api views docstrings. Update multi level docstrings as per Python best practices.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:27:45 -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
Roberto Rosario
5225d8d068
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 03:21:56 -04:00
Roberto Rosario
048960ae52
Fix ACL create view HTML response type. GitLab issue #335 . Thanks to @DocCyblade for the report.
2016-11-08 13:54:20 -04:00
Roberto Rosario
91144a749f
Add ACL list view tests.
2016-10-21 03:35:45 -04:00
Roberto Rosario
23f40ac4aa
PEP8 cleanups.
2016-04-27 20:31:02 -04:00
Roberto Rosario
145161cef4
PEP8 cleanups.
2016-03-19 03:00:03 -04:00
Roberto Rosario
2328355754
Don't error out when inspecting ACL permissions for an object with no registered permissions.
2016-03-19 02:20:36 -04:00
Roberto Rosario
042cef3d0e
Add ACL view tests.
2016-03-18 20:57:22 -04:00