textual
textual copied to clipboard
query_one should raise an exception
The query_one
method should raise an exception if there isn't exactly one result from the query.
Once done, a TODO item in test_widget_mounting.py
can be uncommented and put into play (if/when #1095 is merged).
Did we solve your problem?
Glad we could help!