Closed itye-msft closed 5 years ago
@fnocera I have added the missing annotations for integration tests.
I have also clarified in a comment why mock_incoming_message_event
works, mainly because it starts the input reader pipeline (not to be confused with the output writer). The mocked messaged travels in the pipeline and we pick it up at the output writer. This is why self.last_message
is set correctly at line 16 of the client_mock.py
file.
After writing multiple integration tests which involved communication with event hub, I ended up removing them and sticking to integration in an isolated environment. The full e-2-e test with connectivity to event hub will be added in a separated PR