summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/director_unroll_runme.py
blob: 60bc05585760225a12009e7f0551a36482a2960c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import director_unroll


class MyFoo(director_unroll.Foo):

    def ping(self):
        return "MyFoo::ping()"


a = MyFoo()

b = director_unroll.Bar()

b.set(a)
c = b.get()


if not (a.this == c.this):
    print a, c
    raise RuntimeError