From dd502230a668d7af9537530d6791642fa89c66ac Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 9 Sep 2024 00:29:55 +0300 Subject: [PATCH] Comment outdated setting object_payload in test_structure --- minode/tests/test_structure.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/minode/tests/test_structure.py b/minode/tests/test_structure.py index c45d2d4..c6d7eb2 100644 --- a/minode/tests/test_structure.py +++ b/minode/tests/test_structure.py @@ -151,9 +151,10 @@ class TestStructure(unittest.TestCase): shared.stream = 2 self.assertTrue(obj.is_valid()) - obj.object_payload = \ - b'TIGER, tiger, burning bright. In the forests of the night' - self.assertFalse(obj.is_valid()) + # obj.data = struct.pack(... + # obj.object_payload = \ + # b'TIGER, tiger, burning bright. In the forests of the night' + # self.assertFalse(obj.is_valid()) def test_proofofwork(self): """Check the main proofofwork call and worker"""