this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Change setup for running django unnittest

Change testing instructions accordingly in README

+28 -38
+1 -1
.travis.yml
··· 8 8 - libsqlite3-mod-spatialite 9 9 install: 10 10 - pip install -q -r requirements.txt 11 - script: pytest 11 + script: python manage.py test
+4 -14
README.rst
··· 96 96 97 97 $ mypy care 98 98 99 - Test coverage 99 + Run Tests 100 100 ^^^^^^^^^^^^^ 101 - 102 - To run the tests, check your test coverage, and generate an HTML coverage report:: 103 - 104 - $ coverage run -m pytest 105 - $ coverage html 106 - $ open htmlcov/index.html 107 - 108 - Running tests with py.test 109 - ~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 - 111 - :: 112 - 113 - $ pytest 101 + ```python 102 + python manage.py test 103 + ``` 114 104 115 105 Live reloading and Sass CSS compilation 116 106 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+23 -23
app.json
··· 1 1 { 2 - "environments": { 3 - "test": { 4 - "scripts": { 5 - "test": "pytest" 6 - }, 7 - "buildpacks": [{ 8 - "url": "https://github.com/cyberdelia/heroku-geo-buildpack.git" 9 - }, 10 - { 11 - "url": "heroku/python" 12 - } 13 - ], 14 - "env": { 15 - "DJANGO_SETTINGS_MODULE": { 16 - "value": "config.settings.test" 17 - }, 18 - "LD_LIBRARY_PATH": { 19 - "value": "/app/lib" 20 - }, 21 - "BUILD_WITH_GEO_LIBRARIES": { 22 - "value": "1" 2 + "environments": { 3 + "test": { 4 + "scripts": { 5 + "test": "python manage.py test" 6 + }, 7 + "buildpacks": [{ 8 + "url": "https://github.com/cyberdelia/heroku-geo-buildpack.git" 9 + }, 10 + { 11 + "url": "heroku/python" 12 + } 13 + ], 14 + "env": { 15 + "DJANGO_SETTINGS_MODULE": { 16 + "value": "config.settings.test" 17 + }, 18 + "LD_LIBRARY_PATH": { 19 + "value": "/app/lib" 20 + }, 21 + "BUILD_WITH_GEO_LIBRARIES": { 22 + "value": "1" 23 + } 24 + } 23 25 } 24 - } 25 26 } 26 - } 27 27 }