Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NT test_entry to use unpublish instead of delete #96

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading