1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-22 03:18:22 +02:00

More shortcuts

This commit is contained in:
Yohann D'ANELLO
2020-09-27 18:09:39 +02:00
parent 3b73edd6b0
commit 84a7ec6fb5
4 changed files with 61 additions and 34 deletions

View File

@ -170,6 +170,8 @@ class TestRegistration(TestCase):
args=(self.student.registration.photo_authorization.name.split('/')[-1],)))
self.assertEqual(response.status_code, 200)
self.student.registration.photo_authorization.delete()
def test_string_render(self):
# TODO These string field tests will be removed when used in a template
str(self.user.registration)