mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-19 22:48:01 +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])
|
||||
# The get is for the view - test context data
|
||||
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
|
||||
response = self.client.post(url, {
|
||||
'photo_id': int(self.user.photo_set.first().id),
|
||||
'photo_id': self.user.photo_set.first().id,
|
||||
}, follow=True)
|
||||
self.assertEqual(response.status_code, 200, 'cannot assign photo?')
|
||||
self.assertEqual(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
autopep8
|
||||
bcrypt
|
||||
defusedxml
|
||||
Django
|
||||
Django<3.1
|
||||
django-auth-ldap
|
||||
django-bootstrap4
|
||||
django-coverage-plugin
|
||||
|
||||
Reference in New Issue
Block a user