From 8a236a39fdc8dddd9ae6878e4f1933cb75acf03f Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sat, 22 May 2021 15:57:39 +0200 Subject: [PATCH] [lint] #162: Define classmethod Found by pre-commit hook --- tests/api/ws2p/test_ws2p.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/api/ws2p/test_ws2p.py b/tests/api/ws2p/test_ws2p.py index 784bf49..fcb3829 100644 --- a/tests/api/ws2p/test_ws2p.py +++ b/tests/api/ws2p/test_ws2p.py @@ -33,7 +33,8 @@ from duniterpy.documents.ws2p.messages import DocumentMessage class TestWs2p(unittest.TestCase): - def test_block(self): + @classmethod + def test_block(cls): json_sample = { "heads": [ { -- GitLab