Skip to content

Commit 37768bf

Browse files
committed
Fix utest
1 parent a1bdee3 commit 37768bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utest/test_plugin_api.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,8 @@ class PythonObject:
7373
python_object = PythonObject()
7474
parser = PluginParser(my_plugin_test.LibraryBase, [python_object])
7575
plugins = parser.parse_plugins("my_plugin_test.TestPluginWithPythonArgs;4")
76-
assert len(plugins)
76+
assert len(plugins) == 1
77+
plugin = plugins[0]
78+
assert plugin.python_class.x == 1
79+
assert plugin.python_class.y == 2
80+

0 commit comments

Comments
 (0)