Fix payment autocomplete permissions and remove test skips

Fixed decorators in urls.py. Moved to method_decorators on view class
This commit is contained in:
Aarni Halinen
2018-07-24 18:19:57 +03:00
parent 7e821f277f
commit 3676f23f65
3 changed files with 3 additions and 7 deletions
-2
View File
@@ -64,7 +64,6 @@ class MemberRegisterTestCase(TestCase):
self.assertEqual(response.status_code, 200)
@skip("TODO: Fix")
def test_autocomplete_search_found(self):
"""Test member autocomplete search"""
search_terms = 'Tidus'
@@ -72,7 +71,6 @@ class MemberRegisterTestCase(TestCase):
results = response.json()['results']
self.assertEqual(len(results), 1)
@skip("TODO: Fix")
def test_autocomplete_search_not_found(self):
"""Test member autocomplete search"""
search_terms = 'Notfound'