Ejemplo n.º 1
0
 def test_stream_action_invalid(self):
     client = boto3.client('kinesis', region_name=aws_region)
     success, err_msg = (
         kinesis_stream.stream_action(
             client, 'test', 10, 'append', check_mode=True
         )
     )
     self.assertFalse(success)
Ejemplo n.º 2
0
 def test_stream_action_invalid(self):
     client = boto3.client('kinesis', region_name=aws_region)
     success, err_msg = (
         kinesis_stream.stream_action(
             client, 'test', 10, 'append', check_mode=True
         )
     )
     self.assertFalse(success)
Ejemplo n.º 3
0
 def test_stream_action_delete(self):
     client = boto3.client('kinesis', region_name=aws_region)
     success, err_msg = (
         kinesis_stream.stream_action(
             client, 'test', 10, 'delete', check_mode=True
         )
     )
     self.assertTrue(success)
Ejemplo n.º 4
0
 def test_stream_action_delete(self):
     client = boto3.client('kinesis', region_name=aws_region)
     success, err_msg = (
         kinesis_stream.stream_action(
             client, 'test', 10, 'delete', check_mode=True
         )
     )
     self.assertTrue(success)