From e25c974796f77f4bc2f68e7b8adf642b2cfd3909 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 11 Nov 2018 17:08:51 +0200 Subject: [PATCH] README.md: We have tests now --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6b7bed..1b6ec13 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,10 @@ Test to see if there are any statistics: $ curl 'http://localhost:8000/items?limit=1' +Run tests: + + $ pytest + ## Deployment There are example systemd service and timer units in the `contrib` directory. The API service listens on localhost by default so you will need to expose it publicly using a web server like nginx. @@ -71,7 +75,6 @@ The item id is the *internal* id for an item. You can get these from the standar ## Todo - Better logging -- Tests - Version API - Use JSON in PostgreSQL - Switch to [Python 3.6+ f-string syntax](https://realpython.com/python-f-strings/)