Browse Source

fix deprecation notice, add shared to test name

main
John-Mark Gurney 2 years ago
parent
commit
c6a082befe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lora.py

+ 2
- 2
lora.py View File

@@ -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)



Loading…
Cancel
Save