Code style cleanups
Add keyword arguments. Sort arguments and models. Move literals to their own module. Prepend handler_ to signal handlers. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -488,7 +488,7 @@ class DocumentMetadataAPITestCase(DocumentTestMixin, BaseAPITestCase):
|
||||
viewname='rest_api:documentmetadata-detail',
|
||||
kwargs={
|
||||
'document_pk': self.test_document.pk,
|
||||
'metadata_type': self.test_document_metadata.pk
|
||||
'metadata_pk': self.test_document_metadata.pk
|
||||
}, data={
|
||||
'value': TEST_METADATA_VALUE_EDITED
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user