Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrd committed Oct 26, 2022
1 parent 2161573 commit f927193
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_PDHandle.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ def test__repr__():
assert str(pd(j)) == "PathDict(self.data = {'1': 2}, self.path_handle = Path(path=[], str_sep=/, raw=False))"


def test_reset_at_after_in():
j = {"1": {"2": 3}}
p = pd(j)
assert "1" in p
assert p.get() == j


def test_deepcopy():
Expand Down

0 comments on commit f927193

Please sign in to comment.