fix: refactor to reflect usage of proper UUID values
This commit is contained in:
parent
805ce5966f
commit
fd35f439ec
6 changed files with 19 additions and 9 deletions
|
@ -88,7 +88,7 @@ class TestCommonView(WebTestCase):
|
|||
|
||||
# basic send, with user
|
||||
self.request.user = user
|
||||
self.request.POST['user_uuid'] = user.uuid
|
||||
self.request.POST['user_uuid'] = str(user.uuid)
|
||||
with patch.object(mod, 'Session', return_value=self.session):
|
||||
context = view.feedback()
|
||||
self.assertEqual(context, {'ok': True})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue