Skip to content

Commit

Permalink
Update NT test_entry to use unpublish instead of delete
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz committed Jul 3, 2024
1 parent 0d46b70 commit bd9e048
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 bd9e048

Please sign in to comment.