Skip to content

jhonjairoroa87/flask-endpoint-test-mocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-endpoint-test-mocking

Example of how mocking is implemented when calling flask endpoints

Configuring the application

  1. Clone the project: $ git clone https://github.com/jhonjairoroa87/flask-endpoint-test-mocking
  2. Install project requirements: pip install -r requirements.txt
  3. Add meetup.com key to settings.py file MEETUP_API_KEY = "INSERT MEETUP API KEY"

Running the application

Run the following command python runserver.py

Verifying the application is up

Call one of the following urls in your browser:

Testing the application

Run the following command nosetests -sv

About

Example of how mocking is implemented when calling flask endpoints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages