summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/director_unroll_runme.py
blob: ea602d8e20270d0638dc82adc2c552281932f552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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):
    raise RuntimeError("{} {}".format(a, c))