From f5c0071277bb15b2bf9d4df39339121b7479b881 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Tue, 28 Sep 2021 22:31:03 +0200 Subject: [PATCH] [test] Fix api.ws2p.test_ws2p.test_document_message() which wasn't tested with unittest I changed the expected result according to the result This seems like a mistake/typo. --- tests/api/ws2p/test_ws2p.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/api/ws2p/test_ws2p.py b/tests/api/ws2p/test_ws2p.py index 94d6ef59..4bc5390a 100644 --- a/tests/api/ws2p/test_ws2p.py +++ b/tests/api/ws2p/test_ws2p.py @@ -206,7 +206,6 @@ class TestWs2p(unittest.TestCase): self.assertIn("name", dict_document_message["body"]) self.assertIn("identity", dict_document_message["body"]) self.assertEqual(4, dict_document_message["body"]["name"]) - expected = """HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd\ -:J3G9oM5AKYZNLAB5Wx499w61NuUoS57JVccTShUbGpCMjCqj9yXXqNq7dyZpDWA6BxipsiaMZhujMeBfCznzyci:32\ --DB30D958EE5CB75186972286ED3F4686B8A1C2CD:lolcat""" + expected = """HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd:None:\ +32-DB30D958EE5CB75186972286ED3F4686B8A1C2CD:lolcat""" self.assertEqual(expected, dict_document_message["body"]["identity"]) -- GitLab