Skip to content

Commit 7d5c5e5

Browse files
committed
use class name for client side exact type match
1 parent dc5baf8 commit 7d5c5e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ def get_entity(
238238
if not isinstance(entity, entity_type):
239239
continue
240240

241-
if exact_entity_type is not None and type(entity) is not exact_entity_type:
241+
if (
242+
exact_entity_type is not None
243+
and entity.info_object.class_name != exact_entity_type.__name__
244+
):
242245
continue
243246

244247
if qualifier is not None and qualifier not in entity.info_object.unique_id:

0 commit comments

Comments
 (0)