Skip to content

kristian76/sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup

  1. setup your database, I used sqlite for this
  2. run migrate() from the models file
  3. run the populate, it's reading a flat file version of the sample.json data
  4. run the tests

Tests run

  • Say Hello to the Kitty ... ok
  • Test first item in the list has to be cheaper ... ok
  • Test products for kids sorted by cheapest first ... ok
  • Test paginating products is working ... ok
  • Test that we get product data by product id ... ok

About

Fork this and send back a pull request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • Shell 2.9%