Here are the examples of the python api tests.mocks.KinesisProducerMock taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : test_producer.py
with MIT License
from whale2
with MIT License
from whale2
def setUp(self):
try:
self.event_loop = asyncio.get_event_loop()
except RuntimeError:
self.event_loop = asyncio.new_event_loop()
self.producer_mock = KinesisProducerMock()
self.producer = self.producer_mock.get_producer()
def test_producer(self):