summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scripts/pyolian/eolian.py1
-rwxr-xr-xsrc/scripts/pyolian/test_eolian.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 9ab6abd01e..31f4f06f44 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -739,6 +739,7 @@ class Class(Object):
739 def do_class_recursive(cls): 739 def do_class_recursive(cls):
740 if cls.parent: 740 if cls.parent:
741 li.append(cls.parent) 741 li.append(cls.parent)
742 do_class_recursive(cls.parent)
742 for other in cls.extensions: 743 for other in cls.extensions:
743 if other not in li: 744 if other not in li:
744 li.append(other) 745 li.append(other)
diff --git a/src/scripts/pyolian/test_eolian.py b/src/scripts/pyolian/test_eolian.py
index 4aa4588640..b6090c661e 100755
--- a/src/scripts/pyolian/test_eolian.py
+++ b/src/scripts/pyolian/test_eolian.py
@@ -699,3 +699,8 @@ class TestEolianExpression(object):
699 # exp.binary_operator # TODO find a better test (only works for BINARY expr) 699 # exp.binary_operator # TODO find a better test (only works for BINARY expr)
700 # exp.binary_lhs # TODO find a better test (only works for BINARY expr) 700 # exp.binary_lhs # TODO find a better test (only works for BINARY expr)
701 # exp.binary_rhs # TODO find a better test (only works for BINARY expr) 701 # exp.binary_rhs # TODO find a better test (only works for BINARY expr)
702
703class TestEolianInherits(object):
704 def test_inherits_full(self, eolian_db):
705 cls = eolian_db.class_by_name_get('Efl.Ui.Widget')
706 assert 'Efl.Object' in cls.inherits_full