Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Testing #29

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions bluez_peripheral/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ async def set_alias(self, val: str):
"""
await self._adapter_interface.set_alias(val)

async def get_powered(self) -> bool:
"""Indicates if the adapter is on or off."""
return await self._adapter_interface.get_powered()

async def set_powered(self, val: bool):
"""Turn this adapter on or off."""
await self._adapter_interface.set_powered(val)

@classmethod
async def get_all(cls, bus: MessageBus) -> Collection["Adapter"]:
"""Get a list of available Bluetooth adapters.
Expand Down
1 change: 0 additions & 1 deletion tests/test_uuid16.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from multiprocessing.sharedctypes import Value
import unittest

from bluez_peripheral.uuid16 import UUID16
Expand Down