Closed codeplus254 closed 5 years ago
Add password-reset and forgot password tests.
git clone -b test-password-reset-161966897 https://github.com/andela/ah-infinity-stones
cd ah-infinity-stones
python3 -m venv virtual
source virtual/bin/activate
pip install -r requirements.txt
export DATABASE_PASSWORD='<postgres user's password>' export HOST='localhost' export PORT='5432' export DATABASE_TEST='<name_of_test_database>'
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py test
#161966897
What does this PR do?
Add password-reset and forgot password tests.
Description of Task to be completed?
How should this be manually tested?
git clone -b test-password-reset-161966897 https://github.com/andela/ah-infinity-stones
andcd ah-infinity-stones
.python3 -m venv virtual
to create a virtual environment andsource virtual/bin/activate
to activate it.pip install -r requirements.txt
to install dependenciespython3 manage.py makemigrations
followed bypython3 manage.py migrate
to apply migrationspython3 manage.py test
in the terminal to run the tests.What are the relevant pivotal tracker stories?
#161966897
Screenshots (if appropriate)