Skip to content

Commit f17d94b

Browse files
committed
Part way to fixing test
1 parent ca66290 commit f17d94b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_integration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,8 @@ def test_nested_bullet_list(
954954
* Another top level item
955955
"""
956956

957+
third_level_1 = UnoBulletedItem(text="Third level item (now allowed!)")
958+
957959
second_level_1 = UnoBulletedItem(text="Second level item")
958960
second_level_2 = UnoBulletedItem(text="Second level with children")
959961

@@ -962,6 +964,7 @@ def test_nested_bullet_list(
962964

963965
# Remove pyright ignore once we have
964966
# https://github.com/ultimate-notion/ultimate-notion/issues/94.
967+
second_level_1.obj_ref.value.children.append(third_level_1.obj_ref) # pyright: ignore[reportUnknownMemberType]
965968
top_level_2.obj_ref.value.children.append(second_level_1.obj_ref) # pyright: ignore[reportUnknownMemberType]
966969
top_level_2.obj_ref.value.children.append(second_level_2.obj_ref) # pyright: ignore[reportUnknownMemberType]
967970

0 commit comments

Comments
 (0)