andela / ah-infinity-stones

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

#161966897 Implement all test cases for notifications feature #30

Closed ThaDeveloper closed 5 years ago

ThaDeveloper commented 5 years ago

What does this PR do?

Description of Task to be completed?

How should this be manually tested?

  1. git clone -b ch-test-notifications-161966897 https://github.com/andela/ah-infinity-stones and $ cd ah-infinity-stones
  2. Create and activate virtual env
    • virtualenv -p python3 venv
    • $ source venv/bin/activate
  3. $ pip3 install -r requirements.txt to install the dependencies
  4. Setup environment variables. Copy all from below and paste them into the .env file. Update the values to your choice.
    export DATABASE_USER='user'
    export DATABASE_PASSWORD='password'
    export HOST='localhost'
    export PORT='5432'
    export DATABASE_TEST='ah_test'

    Activate the env variables by $source .env.

  5. Run migrations: $ python3 manage.py migrate
  6. Run tests - $ python3 manage.py test

What are the relevant pivotal tracker stories?

#161966897

codeclimate[bot] commented 5 years ago

Code Climate has analyzed commit 78844018 and detected 0 issues on this pull request.

View more on Code Climate.