1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

improved tests

This commit is contained in:
lins05
2014-09-06 11:38:20 +08:00
parent 2687bdbea4
commit f65c783fb6
16 changed files with 434 additions and 755 deletions

View File

@@ -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)