@@ -22,6 +22,12 @@ def _test_api_flow(self):
2222 _pinpointPy .start_trace ()
2323 _pinpointPy .set_context_key ('sid' , id )
2424 _pinpointPy .add_clue ("key" , "value3" )
25+ _pinpointPy .add_clue ("key" , bytes ("value3" , 'utf-8' ))
26+ _pinpointPy .add_clue ('end' , b'3434' )
27+ _pinpointPy .add_clue ('end' , ('3434' , '23' ))
28+ _pinpointPy .add_clue ('end' , ['3434' , '23' ])
29+ _pinpointPy .add_clue ('end' , {'3434' : 23 , '23' : 23 })
30+ _pinpointPy .add_clue ('end' , 1314 )
2531 _pinpointPy .add_clues ("key" , "value3" )
2632 value = _pinpointPy .get_context_key ('sid' )
2733 self .assertEqual (value , id )
@@ -30,8 +36,8 @@ def _test_api_flow(self):
3036 _pinpointPy .force_flush_trace ()
3137 _pinpointPy .drop_trace ()
3238
33- @unittest .skipIf (platform .system () == "Darwin" , "skip Darwin" )
34- @unittest .skipIf (platform .system () == "Windows" , "skip Windows" )
39+ @ unittest .skipIf (platform .system () == "Darwin" , "skip Darwin" )
40+ @ unittest .skipIf (platform .system () == "Windows" , "skip Windows" )
3541 def test_process (self ):
3642 p1 = Process (target = self ._test_api_flow )
3743 p1 .start ()
0 commit comments