Skip to content

Commit

Permalink
Revert tests now that the type has changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Oct 3, 2023
1 parent dc156c2 commit e1f30cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ def test_deprecated_init(self):

def test_handle_path(self):
cases = [
(ops.Handle(None, "root", 'test1'), "root[test1]"),
(ops.Handle(None, "root", None), "root"),
(ops.Handle(None, "root", "1"), "root[1]"),
(ops.Handle(ops.Handle(None, "root", 'test2'), "child", 'test3'),
"root[test2]/child[test3]"),
(ops.Handle(ops.Handle(None, "root", None), "child", None), "root/child"),
(ops.Handle(ops.Handle(None, "root", "1"), "child", "2"), "root[1]/child[2]"),
]
for handle, path in cases:
Expand Down

0 comments on commit e1f30cf

Please sign in to comment.