Skip to content

Commit 990e34b

Browse files
committed
Updating floating point test failure
1 parent 6206fb8 commit 990e34b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async def test_get_controls(self, controller: MockInputController, service: Inpu
123123
client = InputControllerServiceStub(channel)
124124
extra = {"foo": "get_controls"}
125125
request = GetControlsRequest(controller=controller.name, extra=dict_to_struct(extra))
126-
response: GetControlsResponse = await client.GetControls(request, timeout=1.23)
126+
response: GetControlsResponse = await client.GetControls(request, timeout=2.23)
127127
controls = list(response.controls)
128128
assert controls == [
129129
Control.ABSOLUTE_X,
@@ -149,7 +149,7 @@ async def test_get_controls(self, controller: MockInputController, service: Inpu
149149
Control.BUTTON_E_STOP,
150150
]
151151
assert controller.extra == extra
152-
assert controller.timeout == loose_approx(1.23)
152+
assert controller.timeout == loose_approx(2.23)
153153

154154
@pytest.mark.asyncio
155155
async def test_get_events(self, controller: MockInputController, service: InputControllerRPCService):

0 commit comments

Comments
 (0)