From c6a082befe4ec7dcc35c35675aa1e7f5c5ca2513 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Mon, 31 Jan 2022 11:08:55 -0800 Subject: [PATCH] fix deprecation notice, add shared to test name --- lora.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lora.py b/lora.py index a3459e1..1b69c77 100644 --- a/lora.py +++ b/lora.py @@ -618,7 +618,7 @@ class TestX25519(unittest.TestCase): rb = lora_comms.x25519_wrap(bpubkey, bprivkey, apubkey, 1) - self.assertEquals(ra, rb) + self.assertEqual(ra, rb) class TestLORANode(unittest.IsolatedAsyncioTestCase): shared_domain = b'com.funkthat.lora.irrigation.shared.v0.0.1' @@ -629,7 +629,7 @@ class TestLORANode(unittest.IsolatedAsyncioTestCase): l = LORANode(None) @timeout(2) - async def test_lora(self): + async def test_lora_shared(self): _self = self shared_key = os.urandom(32)