Browse Source

split assert in multiple statements

pull/10337/head
Auguste "laggron42" Charpentier 8 months ago
parent
commit
3d0633baf9
No known key found for this signature in database GPG Key ID: 5423B476C2E1CC44
  1. 5
      tests/test_ui_nested.py

5
tests/test_ui_nested.py

@ -64,7 +64,10 @@ async def view(
container = row.parent
assert isinstance(container, discord.ui.Container)
assert container.parent is None
assert button.view == row.view == container.view is not None
assert button.view is not None
assert row.view is not None
assert container.view is not None
assert button.view == row.view == container.view
class Item(item_type):
async def callback(self, interaction):

Loading…
Cancel
Save