Audit common app

Add support to override settings of the FilteredSelectionForm
via subclass attributes. Add keyword arguments to calls.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-02 14:34:41 -04:00
parent 92e615ce4c
commit 125c133334
14 changed files with 134 additions and 99 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ TEST_TEMPLATE_RESULT = '<div'
class CommonAPITestCase(BaseAPITestCase):
def test_content_type_list_view(self):
response = self.client.get(reverse('rest_api:content-type-list'))
response = self.client.get(reverse(viewname='rest_api:content-type-list'))
self.assertEqual(response.status_code, 200)
@override_settings(LANGUAGE_CODE='de')