From eb472c815e7bac9e867d837c463849f2ea1929d0 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 20 Jan 2020 06:05:10 +0000 Subject: [PATCH] Add unit testing instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cacc2b2..a515c4c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,15 @@ Place `old_portal.sqlite3` in the same directory as `manage.py`. (env) $ time python import_old_portal.py ``` -Give it about 5 minutes to run. This will import old models into the new portal database, ready to be linked to user's emails when they sign up. +Give it about 15 minutes to run. This will import old models into the new portal database, ready to be linked to user's emails when they sign up. + +#### Testing + +There are unit tests in `apiserver/api/tests.py` that you can run with: + +```text +(env) $ python manage.py test +``` ### Webclient