summaryrefslogtreecommitdiff
path: root/itests/test_privatestorage.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-18 23:01:01 +0200
committermathieui <mathieui@mathieui.net>2021-04-18 23:01:01 +0200
commit99c6fc923a06c1d73297e09d26396b0548a86b05 (patch)
treec3618ccc1c8c81b6ab95ad21b4abf6b307207bbf /itests/test_privatestorage.py
parentd4e1b68534203f5da1d1adbfb4b5cd2efa6694a8 (diff)
downloadslixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.gz
slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.bz2
slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.xz
slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.zip
itests: do not compare strings, compare xml
Diffstat (limited to 'itests/test_privatestorage.py')
-rw-r--r--itests/test_privatestorage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/itests/test_privatestorage.py b/itests/test_privatestorage.py
index fd7f3f1b..55fa941b 100644
--- a/itests/test_privatestorage.py
+++ b/itests/test_privatestorage.py
@@ -22,7 +22,8 @@ class TestPrivateStorage(SlixIntegration):
el,
)
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
await self.clients[0]['xep_0049'].store(