aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mixin_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mixin_test.py')
-rw-r--r--examples/mixin_test.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/mixin_test.py b/examples/mixin_test.py
index 869dc49..e7b44fd 100644
--- a/examples/mixin_test.py
+++ b/examples/mixin_test.py
@@ -4,20 +4,23 @@
import sys
from base.eodefault import *
-from mixin.mixin_py import Simple
+from mixin.py.mixin_py import Simple
sobj = Simple(None)
-print "ref: ", sobj.ref_get()
sobj.a_set(1)
sobj.b_set(2)
-sobj.a_get()
-sobj.b_get()
-sobj.ab_sum_get()
+a = sobj.a_get()
+b = sobj.b_get()
+s = sobj.ab_sum_get()
+print a + b + 2 == s
+"""
sobj.ab_sum_get()
sobj.ab_sum_get()
+"""
+print "suuuuper..."
super(Simple,sobj).ab_sum_get()
print "end"