Skip to content

Commit

Permalink
Merge pull request #96 from sciencewhiz/ntcoreEntryDelete
Browse files Browse the repository at this point in the history
Update NT test_entry to use unpublish instead of delete
  • Loading branch information
virtuald authored Jul 5, 2024
2 parents 0d46b70 + bd9e048 commit 764a1dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subprojects/pyntcore/tests/test_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_entry_string(nt):
assert e.getString(None) == "value"
assert e.getValue().value() == "value"
assert e.value == "value"
e.delete()
e.unpublish()
assert e.getString(None) is None
e.setString("value")
assert e.getString(None) == "value"
Expand All @@ -23,7 +23,7 @@ def test_entry_string_array(nt):
assert e.getStringArray(None) == ["value"]
assert e.getValue().value() == ["value"]
assert e.value == ["value"]
e.delete()
e.unpublish()
assert e.getStringArray(None) is None
e.setStringArray(["value"])
assert e.getStringArray(None) == ["value"]
Expand All @@ -43,7 +43,7 @@ def test_entry_persistence(nt):
e.clearPersistent()
assert not e.isPersistent()

e.delete()
e.unpublish()


def test_entry_publish_empty_double_array(nt):
Expand Down

0 comments on commit 764a1dc

Please sign in to comment.