before adding some real tests

This commit is contained in:
Your Name 2022-11-10 14:17:48 -05:00
parent 6acd109eca
commit 9802775994
3 changed files with 13 additions and 1 deletions

3
.gitignore vendored
View file

@ -28,3 +28,6 @@ log
# conf folder for neodb # conf folder for neodb
/neodb /neodb
# test coverage
.coverage

View file

@ -104,3 +104,11 @@ docker-compose build
docker-compose up db && docker exec -it app_db_1 psql -U postgres postgres -c 'CREATE EXTENSION hstore WITH SCHEMA public;' # first time only docker-compose up db && docker exec -it app_db_1 psql -U postgres postgres -c 'CREATE EXTENSION hstore WITH SCHEMA public;' # first time only
docker-compose up docker-compose up
``` ```
Run Tests
```
psql template1 -c 'create extension hstore;' # first time only
coverage run --source='.' manage.py test
coverage report
```

View file

@ -1,5 +1,6 @@
coverage
dateparser dateparser
django~=3.2.14 django~=3.2.16
django-hstore django-hstore
django-markdownx @ git+https://github.com/alphatownsman/django-markdownx.git@e69480c64ad9c5d0499f4a8625da78cf2bb7691b django-markdownx @ git+https://github.com/alphatownsman/django-markdownx.git@e69480c64ad9c5d0499f4a8625da78cf2bb7691b
django-sass django-sass