From bd9e04817d479966f5aada5af154440d50da9fac Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 2 Jul 2024 19:25:16 -0700 Subject: [PATCH] Update NT test_entry to use unpublish instead of delete https://github.com/wpilibsuite/allwpilib/pull/6552 --- subprojects/pyntcore/tests/test_entry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/pyntcore/tests/test_entry.py b/subprojects/pyntcore/tests/test_entry.py index 6aac6871..4094e9c6 100644 --- a/subprojects/pyntcore/tests/test_entry.py +++ b/subprojects/pyntcore/tests/test_entry.py @@ -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" @@ -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"] @@ -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):