瀏覽代碼

fix deprecation notice, add shared to test name

main
John-Mark Gurney 2 年之前
父節點
當前提交
c6a082befe
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      lora.py

+ 2
- 2
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)



Loading…
取消
儲存