mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-20 15:08:02 +00:00
Something is fishy with Django 3.1 - needs futher and deeper investigation
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user