mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-18 15:24:18 +01:00
fix(plugin_utils): plugin utils are able to detect classes for plugin creation based on class attribute rather than if it is top level widget
This commit is contained in:
1 parent
245ebb444e
commit
7a1b8748a4
6 files changed
+25
-20
No files matched your search
@@ -1,8 +1,8 @@
|
||||
from bec_widgets.utils.plugin_utils import get_rpc_classes
|
||||
from bec_widgets.utils.plugin_utils import get_custom_classes
|
||||
|
||||
|
||||
def test_client_generator_classes():
|
||||
out = get_rpc_classes("bec_widgets")
|
||||
out = get_custom_classes("bec_widgets")
|
||||
connector_cls_names = [cls.__name__ for cls in out.connector_classes]
|
||||
top_level_cls_names = [cls.__name__ for cls in out.top_level_classes]
|
||||
|
||||
|
||||
Reference in new issue
Block a user