Closed PromasterGuru closed 5 years ago
Great stuff all the model tests are passing. Include how to manually test the PR
@andela-amutava We were paired with @kamyaD. We are working on the test for articles and comments on his machine and on different branches.
The article models will be so handy as we implement the features moving forward. Cool stuff @PromasterGuru
What does this PR do?
Implement tests for Articles module models
Description of Task to be completed?
How should this be manually tested?
Clone the App to your local machine:
https://github.com/andela/ah-infinity-stones.git
Cd to the project directory:
cd ah-infinity-stones
Create a virtual environment:
virtualenv -p python3 venv
Activate the virtual environment:
source venv/bin/activate
Install requirements:
pip3 install -r requirements.txt
Create a .env file with all the database configuration variables. See the ReadMe file.
Export your database configuration variables:
source .env
Make migrations:
python3 manage.py makemigrations && python3 manage.py migrate
Run tests:
python3 manage.py test
What are the relevant pivotal tracker stories?
#161966897
Screenshots (if appropriate)