Skip to content

Commit

Permalink
Removed connection test_clear from
Browse files Browse the repository at this point in the history
  • Loading branch information
Alyxion committed Apr 8, 2024
1 parent 8013ea0 commit f02d9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ async def page():
screen.switch_to(0)
screen.should_contain('124')


def test_clear(screen: Screen):
with pytest.raises(RuntimeError): # no context (auto index)
app.storage.client.clear()

@ui.page('/')
async def page():
await context.get_client().connected()
app.storage.client['counter'] = 123
app.storage.client.clear()
assert 'counter' not in app.storage.client
Expand Down

0 comments on commit f02d9e9

Please sign in to comment.