mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
improved tests
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import unittest
|
||||
from tests.common.utils import apiurl
|
||||
from tests.api.apitestbase import ApiTestBase
|
||||
from tests.api.urls import LIST_GROUP_AND_CONTACTS_URL
|
||||
|
||||
class MiscApiTest(ApiTestBase):
|
||||
def test_list_group_and_contacts_api(self):
|
||||
def test_list_group_and_contacts(self):
|
||||
res = self.get(LIST_GROUP_AND_CONTACTS_URL).json()
|
||||
self.assertIsNotNone(res)
|
||||
self.assertIsInstance(res['contacts'], list)
|
||||
|
Reference in New Issue
Block a user