From 99c6fc923a06c1d73297e09d26396b0548a86b05 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 18 Apr 2021 23:01:01 +0200 Subject: [PATCH] itests: do not compare strings, compare xml --- itests/test_privatestorage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(