Update document transformation links and views

Update the URL nomeclature for uniformity.

Add document transformation link tests and improve
the transformation view tests.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-29 04:29:27 -04:00
parent a64bc61810
commit fcfe7686fa
7 changed files with 141 additions and 106 deletions
+3 -3
View File
@@ -183,12 +183,12 @@ urlpatterns = [
),
url(
regex=r'^documents/(?P<document_id>\d+)/transformations/clear/$',
name='document_clear_transformations',
name='document_transformations_clear',
view=DocumentTransformationsClearView.as_view()
),
url(
regex=r'^documents/(?P<document_id>\d+)/transformations/clone/$',
name='document_clone_transformations',
name='document_transformations_clone',
view=DocumentTransformationsCloneView.as_view()
),
url(
@@ -222,7 +222,7 @@ urlpatterns = [
),
url(
regex=r'^documents/multiple/transformations/clear/$',
name='document_multiple_clear_transformations',
name='document_multiple_transformations_clear',
view=DocumentTransformationsClearView.as_view()
),
url(