Something is fishy with Django 3.1 - needs futher and deeper investigation

This commit is contained in:
Oliver Falk
2020-08-31 10:55:50 +02:00
parent ffbd0f9148
commit 8f7f6983cd
2 changed files with 3 additions and 3 deletions

View File

@@ -956,11 +956,11 @@ class Tester(TestCase): # pylint: disable=too-many-public-methods
args=[self.user.confirmedopenid_set.first().id]) args=[self.user.confirmedopenid_set.first().id])
# The get is for the view - test context data # The get is for the view - test context data
self.client.get(url, { self.client.get(url, {
'photo_id': int(self.user.photo_set.first().id), 'photo_id': self.user.photo_set.first().id,
}) })
# The post is for the actual assigning # The post is for the actual assigning
response = self.client.post(url, { response = self.client.post(url, {
'photo_id': int(self.user.photo_set.first().id), 'photo_id': self.user.photo_set.first().id,
}, follow=True) }, follow=True)
self.assertEqual(response.status_code, 200, 'cannot assign photo?') self.assertEqual(response.status_code, 200, 'cannot assign photo?')
self.assertEqual( self.assertEqual(

View File

@@ -1,7 +1,7 @@
autopep8 autopep8
bcrypt bcrypt
defusedxml defusedxml
Django Django<3.1
django-auth-ldap django-auth-ldap
django-bootstrap4 django-bootstrap4
django-coverage-plugin django-coverage-plugin