Skip to content
Snippets Groups Projects
Commit f5c00712 authored by Moul's avatar Moul
Browse files

[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.
parent 2b804fd5
Branches
Tags
1 merge request!133#90, #103: Pytest introduction, coverage report and badge generations
Pipeline #13966 waiting for manual action
......@@ -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"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment