mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-29 19:14:47 +00:00
Added test for unicode field in rest api
This commit is contained in:
parent
0e559347d3
commit
6cc5b5e18a
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ class ViewTest(unittest.TestCase):
|
|||
|
||||
|
||||
class IndexViewModelListCreateAPIViewTest(ViewTest):
|
||||
|
||||
def test_response_ok(self):
|
||||
request = self.factory.get('/admin/api/blog/post/')
|
||||
response = apiviews.ListCreateAPIView.as_view(model=Post)(request)
|
||||
|
|
|
|||
Loading…
Reference in a new issue