# 61 Filter code enhancement
* reorganizes code
This commit is contained in:
@@ -404,6 +404,7 @@ class AutocompleteTestCase(BaseViewTestCase):
|
||||
cls.atcmplt_code_comp_process = reverse("codes-process-type-autocomplete")
|
||||
cls.atcmplt_code_comp_reg_off = reverse("codes-registration-office-autocomplete")
|
||||
cls.atcmplt_code_comp_cons_off = reverse("codes-conservation-office-autocomplete")
|
||||
cls.atcmplt_code_share_user = reverse("share-user-autocomplete")
|
||||
|
||||
def _test_views_anonymous_user(self):
|
||||
# ATTENTION: As of the current state of django-autocomplete-light, there is no way to check on authenticated
|
||||
@@ -421,6 +422,7 @@ class AutocompleteTestCase(BaseViewTestCase):
|
||||
self.atcmplt_code_comp_process,
|
||||
self.atcmplt_code_comp_reg_off,
|
||||
self.atcmplt_code_comp_cons_off,
|
||||
self.atcmplt_code_share_user,
|
||||
]
|
||||
self.assert_url_fail(client, urls)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user