@@ -69,6 +69,7 @@ def tearDown(self):
6969 self .comp .releaseObject ()
7070
7171 ossie .utils .testing .ScaComponentTestCase .tearDown (self )
72+ time .sleep (1 )
7273
7374
7475 def componentSetup (self ):
@@ -327,10 +328,19 @@ def testPropertyConfiguration(self):
327328 def testAttachDetach (self ):
328329
329330 self .comp .start ()
331+ attachId = self .callAttach (True ,0 )
332+ self .pushSRI ()
333+ self .input_vita49_port .detach (attachId )
334+
335+ attachId = self .callAttach (True ,0 )
330336 self .pushSRI ()
337+ self .input_vita49_port .detach (attachId )
338+
331339 attachId = self .callAttach (True ,0 )
340+ self .pushSRI ()
332341 self .input_vita49_port .detach (attachId )
333342
343+
334344 def testSRI (self ):
335345
336346 self .connectOutputData ()
@@ -345,7 +355,7 @@ def testSRI(self):
345355 self .assertEqual (sri .xdelta ,.0001 )
346356 self .assertEqual (sri .mode ,1 )
347357
348- expectedkws = [CF .DataType ("dataRef" , ossie .properties .to_tc_value (BIG_ENDIAN , 'long ' )),
358+ expectedkws = [CF .DataType ("dataRef" , ossie .properties .to_tc_value (BIG_ENDIAN , 'string ' )),
349359 CF .DataType ("COL_RF" , ossie .properties .to_tc_value (100000000 , 'double' ))]
350360
351361 for expectedkw in expectedkws :
@@ -371,7 +381,7 @@ def testSRI(self):
371381 time .sleep (.5 )
372382 sri = self .dataSink .sri ()
373383
374- expectedkws = [CF .DataType ("dataRef" , ossie .properties .to_tc_value (BIG_ENDIAN , 'long ' )),
384+ expectedkws = [CF .DataType ("dataRef" , ossie .properties .to_tc_value (BIG_ENDIAN , 'string ' )),
375385 CF .DataType ("COL_RF" , ossie .properties .to_tc_value (200000000 , 'double' ))]
376386
377387 for expectedkw in expectedkws :
0 commit comments