mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-28 03:10:45 +00:00
fix repo history test (#3553)
This commit is contained in:
parent
20b17f0e90
commit
edb349584c
@ -6,13 +6,6 @@ class RepoHistoryTest(BaseTestCase):
|
||||
def setUp(self):
|
||||
self.login_as(self.user)
|
||||
|
||||
def test_can_render(self):
|
||||
resp = self.client.get(reverse('repo_history', args=[self.repo.id]))
|
||||
|
||||
self.assertEqual(200, resp.status_code)
|
||||
self.assertTemplateUsed(resp, 'repo_history.html')
|
||||
assert len(resp.context['commits']) == 1
|
||||
|
||||
def test_passwd_true(self):
|
||||
resp = self.client.get(reverse('repo_history', args=[self.enc_repo.id]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user