bugfixes
This commit is contained in:
@@ -48,6 +48,15 @@ async def test_device_appears_and_selects():
|
||||
assert app.selected_id == "76348799"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_ctrl_c_quits():
|
||||
app = OmsApp(device="none", autostart=False)
|
||||
async with app.run_test() as pilot:
|
||||
await pilot.press("ctrl+c")
|
||||
await pilot.pause()
|
||||
assert app._exit is True
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_set_key_via_modal():
|
||||
app = OmsApp(device="none", autostart=False)
|
||||
|
||||
Reference in New Issue
Block a user