diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-18 23:01:01 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-18 23:01:01 +0200 |
commit | 99c6fc923a06c1d73297e09d26396b0548a86b05 (patch) | |
tree | c3618ccc1c8c81b6ab95ad21b4abf6b307207bbf | |
parent | d4e1b68534203f5da1d1adbfb4b5cd2efa6694a8 (diff) | |
download | slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.gz slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.bz2 slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.tar.xz slixmpp-99c6fc923a06c1d73297e09d26396b0548a86b05.zip |
itests: do not compare strings, compare xml
-rw-r--r-- | itests/test_privatestorage.py | 3 |
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( |