can we mock EWS APIs in flask #1216
prashanttest-elastic
started this conversation in
General
Replies: 1 comment 4 replies
-
The exchangelib test suite uses a couple of different techniques for mocking. There's an example of service-specific mocking in exchangelib/tests/test_protocol.py Line 582 in 490f734 exchangelib/tests/test_autodiscover.py Line 249 in 490f734 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to mock the exchange server. I have written a code to fetch data from the exchange server. Now I want to redirect APIs to my Flask server and return the mock data.
Beta Was this translation helpful? Give feedback.
All reactions