Will McGugan
03ad3af83f
remove old hack
2024-09-07 17:52:25 +01:00
Will McGugan
a7d708050b
prune other direction
2024-07-08 18:53:04 +01:00
Will McGugan
fe2043eca0
enforce mounting
2024-05-23 16:51:44 +01:00
Will McGugan
6b5015b266
mass renaming
2023-02-13 15:09:40 +00:00
Darren Burns
9287f64a66
Add isort pre-commit hook, sort imports in src and test directories
2023-02-09 13:28:08 +00:00
Dave Pearson
3f6ec10311
Run black over widget mounting tests
2023-01-09 13:59:15 +00:00
Dave Pearson
4e8c10b7f4
Merge pull request #1138 from davep/no-self-own
...
Raise an error if a widget tries to be its own parent
2022-11-08 14:03:25 +00:00
Dave Pearson
0324fb90d1
Hoist WidgetError and MountError to the top level of widget.py
2022-11-08 13:53:22 +00:00
Dave Pearson
73cc6021ee
Add the final TooManyMatches mounting unit test
...
This was waiting for the update to query_one that would raise an exception
if the result had more than one match. That's in Textual now so we can
finally add this test.
2022-11-08 13:21:56 +00:00
Dave Pearson
fbbd8a2678
Raise an error if a widget tries to be its own parent
...
See #1062
2022-11-08 12:07:06 +00:00
Dave Pearson
b0d2caf221
Add unit tests for mounting relative to -2
...
To satisfy https://github.com/Textualize/textual/pull/1095#discussion_r1013041338
2022-11-03 15:49:15 +00:00
Dave Pearson
f29015f70a
Add a reminder to the mount tests about query_one
...
See https://github.com/Textualize/textual/issues/1096
2022-11-02 15:57:09 +00:00
Dave Pearson
b925fb6b19
Start unit tests for mounting
2022-11-02 15:18:49 +00:00