update tests: new scene API

This commit is contained in:
John McCardle 2026-01-03 10:59:52 -05:00
commit 838da4571d
142 changed files with 616 additions and 601 deletions

View file

@ -17,8 +17,8 @@ def timer_callback(runtime):
sys.exit(0)
# Set up the scene
mcrfpy.createScene("test_scene")
mcrfpy.setScene("test_scene")
test_scene = mcrfpy.Scene("test_scene")
test_scene.activate()
# Create a timer the old way
mcrfpy.setTimer("test_timer", timer_callback, 100)