Example of how mocking is implemented when calling flask endpoints
- Clone the project:
$ git clone https://github.com/jhonjairoroa87/flask-endpoint-test-mocking
- Install project requirements:
pip install -r requirements.txt
- Add meetup.com key to settings.py file
MEETUP_API_KEY = "INSERT MEETUP API KEY"
Run the following command
python runserver.py
Call one of the following urls in your browser:
Run the following command
nosetests -sv