mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
remove unused rest_framework files (#4729)
* remove unused rest_framework files * update Co-authored-by: lian <lian@seafile.com>
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
from seahub.test_utils import BaseTestCase
|
||||
|
||||
|
||||
class PingTest(BaseTestCase):
|
||||
def test_can_ping(self):
|
||||
resp = self.client.get('/api2/ping/')
|
||||
self.assertEqual(200, resp.status_code)
|
||||
|
||||
def test_html_ping(self):
|
||||
headers = {'HTTP_ACCEPT': 'text/html'}
|
||||
resp = self.client.get('/api2/ping/', **headers)
|
||||
self.assertEqual(200, resp.status_code)
|
||||
|
Reference in New Issue
Block a user