1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

upgrade django to 2.2 (#4620)

This commit is contained in:
王健辉
2020-07-27 14:59:18 +08:00
committed by GitHub
parent e55a602d57
commit 21756be27c
223 changed files with 270 additions and 270 deletions

View File

@@ -252,7 +252,7 @@ class TermsAndConditionsTests(TestCase):
self.assertContains(slug_response, 'Terms and Conditions')
LOGGER.debug('Test /terms/view/site-terms/1.5')
version_response = self.client.get(self.terms3.get_absolute_url(), follow=True)
version_response = self.client.get('/terms/view/site-terms/1.0', follow=True)
self.assertContains(version_response, 'Terms and Conditions')
def test_user_pipeline(self):