Skip to content

Commit 724d8a4

Browse files
committed
[test_section] Adapt Test for Leaf Export Parent Properties
1 parent 4c007c4 commit 724d8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_section.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,13 +968,13 @@ def test_export_leaf(self):
968968

969969
ex2 = second.export_leaf()
970970
self.assertEqual(len(ex2.sections), 1)
971-
self.assertEqual(len(ex2['first'].properties), 0)
971+
self.assertEqual(len(ex2['first'].properties), 2)
972972
self.assertEqual(len(ex2['first'].sections), 1)
973973
self.assertEqual(len(ex2['first']['second'].properties), 1)
974974

975975
ex3 = third.export_leaf()
976976
self.assertEqual(len(ex3.sections), 1)
977-
self.assertEqual(len(ex3['first'].properties), 0)
977+
self.assertEqual(len(ex3['first'].properties), 2)
978978
self.assertEqual(len(ex3['first'].sections), 1)
979979
self.assertEqual(len(ex3['first']['third']), 0)
980980

0 commit comments

Comments
 (0)