Mocking in Behave and Flask
Mocking in Behave and Flask Question: I am trying to mock an HTTP request call using mock because I don’t want to Behave to call it actually. So I have this code scenario in matches.py file: import request def get_match(): response = request.get(“https://example.com”) return response And in my step definition match_steps.py for behave I have …