mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add tests / changelog.
This commit is contained in:
@@ -244,7 +244,7 @@ async def test_query_set_styles_invalid_css_raises_error():
|
||||
app = App()
|
||||
async with app.run_test():
|
||||
with pytest.raises(DeclarationError):
|
||||
app.query(Widget).set_styles(css="random_rule: 1fr;")
|
||||
app.query(Widget).set_styles(css="random-rule: 1fr;")
|
||||
|
||||
|
||||
async def test_query_set_styles_kwds():
|
||||
|
||||
Reference in New Issue
Block a user