예제 #1
0
 def fofunc(toi, int1=Int(), int2=Int(), int3=Int()):
     calls.append((toi, int1, int2, int3))
     return retVal
예제 #2
0
 def fofunc(toi, int1=Int()):
     calls.append((
         toi,
         int1,
     ))
     return retVal
예제 #3
0
 def tMethod(toi, fooArg=Int()):
     pass
예제 #4
0
 def fooMethod(toi, fooArg=Int()):
     return fooArg
예제 #5
0
class fooTO(TO):
    @method(Int())
    def fooMethod(toi, fooArg=Int()):
        return fooArg
예제 #6
0
 def bar(toi, arg1=Int()):
     calls.append(('origbar', toi, arg1))