diff --git a/shellhub/__init__.py b/shellhub/__init__.py index 3bd34e6..de222d2 100644 --- a/shellhub/__init__.py +++ b/shellhub/__init__.py @@ -1,5 +1,5 @@ # Increment versions here according to SemVer -__version__ = "0.2.2" +__version__ = "0.2.3" from .models.device import ShellHubDevice, ShellHubDeviceInfo from .models.base import ShellHub diff --git a/tests/test_devices.py b/tests/test_devices.py index c7d53f6..29dfd8d 100644 --- a/tests/test_devices.py +++ b/tests/test_devices.py @@ -256,7 +256,7 @@ def test_accept_device(self, shellhub_device, requests_mock): requests_mock.get(f"{MOCKED_DOMAIN_URL}/api/devices/1", json=mock_response) requests_mock.patch(f"{MOCKED_DOMAIN_URL}/api/devices/1/accept", status_code=200) - shellhub_device.acceptable = True + shellhub_device.status = "pending" shellhub_device.accept() assert not shellhub_device.acceptable