1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

update test

This commit is contained in:
lian
2016-05-30 18:14:21 +08:00
parent 468def8a93
commit 8b5446c05d
6 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
from django.test import RequestFactory
from seahub.api2.views import html_repo_history_changes
from seahub.test_utils import BaseTestCase
class RepoTest(BaseTestCase):
@@ -13,8 +12,3 @@ class RepoTest(BaseTestCase):
self.request.user = self.user
self.request.cloud_mode = False
def test_can_not_get_without_commit_id(self):
repo = self.repo
resp = html_repo_history_changes(self.request, repo.id)
self.assertEqual(400, resp.status_code)