itests: do not compare strings, compare xml

This commit is contained in:
mathieui 2021-04-18 23:01:01 +02:00
parent d4e1b68534
commit 99c6fc923a

View file

@ -22,7 +22,8 @@ class TestPrivateStorage(SlixIntegration):
el, el,
) )
result = await self.clients[0]['xep_0049'].retrieve('bookmarks') result = await self.clients[0]['xep_0049'].retrieve('bookmarks')
self.assertEqual(str(result['private']['bookmarks']), str(el))
self.assertEqual(result['private']['bookmarks'], el)
# Purge bookmarks # Purge bookmarks
await self.clients[0]['xep_0049'].store( await self.clients[0]['xep_0049'].store(