From f3b10097774b9b7c2d62ce5e5643ab39dd73d7dc Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 7 Aug 2015 10:31:54 -0300 Subject: [PATCH] Update README on how to run tests after migrations --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index f2376f7cb..4f8eae106 100644 --- a/README.rst +++ b/README.rst @@ -124,6 +124,10 @@ Tests py.test --cov . --cov-report term --cov-report html && firefox htmlcov/index.html +* The first time you run the tests after a migration (``./manage.py migrate``) use the db recreation option. + This needs to be done only once:: + + py.test --create-db Issues ------