use SimpleHandshake in RecordObject test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 12 Apr 2019 01:24:29 +0000 (02:24 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 12 Apr 2019 01:24:29 +0000 (02:24 +0100)
src/add/test_buf_pipe.py

index e37311c71689ce2bfee951b305a276108a0d26d5..b8e6440f01d9043672192eca7aea315f9ee6136e 100644 (file)
@@ -810,7 +810,6 @@ class ExampleAddRecordObjectStage(StageCls):
     def ispec(self):
         """ returns an instance of an Example2OpRecord.
         """
-        #return Example2OpClass()
         return Example2OpRecord()
 
     def ospec(self):
@@ -825,11 +824,11 @@ class ExampleAddRecordObjectStage(StageCls):
         return i.op1 + i.op2
 
 
-class ExampleRecordHandshakeAddClass(BufferedHandshake):
+class ExampleRecordHandshakeAddClass(SimpleHandshake):
 
     def __init__(self):
         addstage = ExampleAddRecordObjectStage()
-        BufferedHandshake.__init__(self, stage=addstage)
+        SimpleHandshake.__init__(self, stage=addstage)
 
 
 ######################################################################