Skip to content

Commit

Permalink
Updated composite deep indexing test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 30, 2015
1 parent db2f1ce commit 3238903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testcomposites.py
Expand Up @@ -333,8 +333,8 @@ def test_deep_composite_getitem(self):
expected_keys = [('Overlay', 'I'), ('Overlay', 'II'), ('ValA', 'I')]
self.assertEqual(t.keys(), expected_keys)
self.assertEqual(t['ValA']['I'], o3)
self.assertEqual(t['ValA']['I']['ValA']['LabelA'], self.el7)
self.assertEqual(t['ValA']['I']['ValA']['LabelB'], self.el8)
self.assertEqual(t['ValA']['I'].get('ValA').get('LabelA'), self.el7)
self.assertEqual(t['ValA']['I'].get('ValA').get('LabelB'), self.el8)


def test_invalid_tree_structure(self):
Expand Down

0 comments on commit 3238903

Please sign in to comment.