mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
Fix test failures
a. `DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead` Updated call in `bumble/smp.py` b. `ModuleNotFoundError: No module named 'bumble.apps'` Updated imports in `tests/import_test.py` c. Added `pytest-html` for easier viewing of test results Added package in `setup.cfg`, and hook in `tasks.py` d. Updated workflows to use `invoke test` This is a partial fix of #81
This commit is contained in:
@@ -1110,7 +1110,7 @@ class Session:
|
||||
self.manager.on_pairing(self, peer_address, keys)
|
||||
|
||||
def on_pairing_failure(self, reason):
|
||||
logger.warn(f'pairing failure ({error_name(reason)})')
|
||||
logger.warning(f'pairing failure ({error_name(reason)})')
|
||||
|
||||
if self.completed:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user