Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (alertadengue) ✔ ~/work_lab/fiocruz/AlertaDengue_prod [add-db-demo-to-ci|✚ 5…2]
- 11:31 $ ENV_FILE=".env_staging" python -m pytest -s -x -vv AlertaDengue/dados/tests/test_maps.py
- =============================================================================== test session starts ===============================================================================
- platform linux -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.12.0 -- /media/Data/miniconda/envs/alertadengue/bin/python
- cachedir: .pytest_cache
- django: settings: ad_main.settings (from env)
- rootdir: /media/Data/suplent/work_lab/fiocruz/AlertaDengue_prod, inifile: setup.cfg
- plugins: django-3.9.0, cov-2.8.1, pythonpath-0.7.3, celery-4.4.2
- collected 1 item
- AlertaDengue/dados/tests/test_maps.py::TestMaps::test_return_valid_geojson PASSED
- ----------- coverage: platform linux, python 3.7.6-final-0 -----------
- Name Stmts Miss Cover
- ---------------------------------------------------------------------------------------------------
- AlertaDengue/__init__.py 1 0 100%
- AlertaDengue/ad_main/__init__.py 2 0 100%
- AlertaDengue/ad_main/celery.py 6 0 100%
- AlertaDengue/ad_main/settings.py 70 3 96%
- AlertaDengue/ad_main/test_settings.py 2 2 0%
- AlertaDengue/ad_main/urls.py 7 7 0%
- AlertaDengue/ad_main/version.py 1 0 100%
- AlertaDengue/ad_main/wsgi.py 6 6 0%
- AlertaDengue/api/__init__.py 0 0 100%
- AlertaDengue/api/db.py 117 117 0%
- AlertaDengue/api/settings.py 9 9 0%
- AlertaDengue/api/tests/__init__.py 0 0 100%
- AlertaDengue/api/tests/test_views.py 59 59 0%
- AlertaDengue/api/urls.py 4 4 0%
- AlertaDengue/api/views.py 93 93 0%
- AlertaDengue/conftest.py 0 0 100%
- AlertaDengue/dados/__init__.py 0 0 100%
- AlertaDengue/dados/charts.py 175 175 0%
- AlertaDengue/dados/dbdata.py 374 311 17%
- AlertaDengue/dados/episem.py 54 45 17%
- AlertaDengue/dados/maps.py 18 4 78%
- AlertaDengue/dados/models.py 37 3 92%
- AlertaDengue/dados/settings.py 10 2 80%
- AlertaDengue/dados/templatetags/__init__.py 1 1 0%
- AlertaDengue/dados/templatetags/alert_state.py 14 14 0%
- AlertaDengue/dados/templatetags/lookup.py 4 4 0%
- AlertaDengue/dados/templatetags/report_state.py 8 8 0%
- AlertaDengue/dados/tests/__init__.py 0 0 100%
- AlertaDengue/dados/tests/conftest.py 0 0 100%
- AlertaDengue/dados/tests/test_dbdata.py 41 41 0%
- AlertaDengue/dados/tests/test_maps.py 5 0 100%
- AlertaDengue/dados/tests/test_view.py 63 63 0%
- AlertaDengue/dados/tests/utils.py 0 0 100%
- AlertaDengue/dados/urls.py 23 23 0%
- AlertaDengue/dados/views.py 570 570 0%
- AlertaDengue/dbf/__init__.py 0 0 100%
- AlertaDengue/dbf/admin.py 3 0 100%
- AlertaDengue/dbf/apps.py 3 0 100%
- AlertaDengue/dbf/forms.py 32 32 0%
- AlertaDengue/dbf/management/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/load_sinan.py 15 15 0%
- AlertaDengue/dbf/migrations/0001_initial.py 9 9 0%
- AlertaDengue/dbf/migrations/0002_dbfchunkedupload.py 9 9 0%
- AlertaDengue/dbf/migrations/0003_dbf_state_abbreviation.py 5 5 0%
- AlertaDengue/dbf/migrations/0004_auto_20170323_0122.py 5 5 0%
- AlertaDengue/dbf/migrations/0005_dbf_municipio.py 5 5 0%
- AlertaDengue/dbf/migrations/0006_auto_20171114_1026.py 6 6 0%
- AlertaDengue/dbf/migrations/0007_auto_20180124_2239.py 7 7 0%
- AlertaDengue/dbf/migrations/__init__.py 0 0 100%
- AlertaDengue/dbf/models.py 28 6 79%
- AlertaDengue/dbf/sinan.py 90 90 0%
- AlertaDengue/dbf/tasks.py 33 33 0%
- AlertaDengue/dbf/urls.py 4 4 0%
- AlertaDengue/dbf/validation.py 33 21 36%
- AlertaDengue/dbf/views.py 43 43 0%
- AlertaDengue/forecast/__init__.py 0 0 100%
- AlertaDengue/forecast/admin.py 4 0 100%
- AlertaDengue/forecast/migrations/0001_initial.py 10 10 0%
- AlertaDengue/forecast/migrations/0002_create_table.py 8 8 0%
- AlertaDengue/forecast/migrations/0003_auto_20180124_2239.py 6 6 0%
- AlertaDengue/forecast/migrations/__init__.py 0 0 100%
- AlertaDengue/forecast/models.py 38 3 92%
- AlertaDengue/forecast/tests/__init__.py 0 0 100%
- AlertaDengue/forecast/tests/test_models.py 9 9 0%
- AlertaDengue/gis/__init__.py 0 0 100%
- AlertaDengue/gis/geodf.py 7 7 0%
- AlertaDengue/gis/geotiff.py 121 121 0%
- AlertaDengue/gis/management/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/generate_mapfiles.py 27 27 0%
- AlertaDengue/gis/management/commands/generate_meteorological_raster_cities.py 23 23 0%
- AlertaDengue/gis/management/commands/sync_geofiles.py 91 91 0%
- AlertaDengue/gis/mapfile.py 156 156 0%
- AlertaDengue/gis/settings.py 13 13 0%
- AlertaDengue/gis/tests/__init__.py 0 0 100%
- AlertaDengue/gis/tests/test_geotiff.py 57 57 0%
- AlertaDengue/gis/tests/test_mapfile.py 42 42 0%
- AlertaDengue/load.py 8 8 0%
- AlertaDengue/manage.py 6 6 0%
- AlertaDengue/manager/router.py 38 31 18%
- setup.py 41 41 0%
- ---------------------------------------------------------------------------------------------------
- TOTAL 2809 2513 11%
- ================================================================================ 1 passed in 0.66s ================================================================================
- (alertadengue) ✔ ~/work_lab/fiocruz/AlertaDengue_prod [add-db-demo-to-ci|✚ 5…2]
- 11:32 $ ENV_FILE=".env_staging" python -m pytest -s -x -vv AlertaDengue/dados/tests/test_dbdata.py
- =============================================================================== test session starts ===============================================================================
- platform linux -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.12.0 -- /media/Data/miniconda/envs/alertadengue/bin/python
- cachedir: .pytest_cache
- django: settings: ad_main.settings (from env)
- rootdir: /media/Data/suplent/work_lab/fiocruz/AlertaDengue_prod, inifile: setup.cfg
- plugins: django-3.9.0, cov-2.8.1, pythonpath-0.7.3, celery-4.4.2
- collected 7 items
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_alerta_is_between_0_and_3 PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_casos_are_ints PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_dia_is_date PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_get_cities PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_get_city_alert PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestLoadAlerta::test_load PASSED
- AlertaDengue/dados/tests/test_dbdata.py::TestMunicipio::test_get_active_cities PASSED
- ----------- coverage: platform linux, python 3.7.6-final-0 -----------
- Name Stmts Miss Cover
- ---------------------------------------------------------------------------------------------------
- AlertaDengue/__init__.py 1 0 100%
- AlertaDengue/ad_main/__init__.py 2 0 100%
- AlertaDengue/ad_main/celery.py 6 0 100%
- AlertaDengue/ad_main/settings.py 70 3 96%
- AlertaDengue/ad_main/test_settings.py 2 2 0%
- AlertaDengue/ad_main/urls.py 7 7 0%
- AlertaDengue/ad_main/version.py 1 0 100%
- AlertaDengue/ad_main/wsgi.py 6 6 0%
- AlertaDengue/api/__init__.py 0 0 100%
- AlertaDengue/api/db.py 117 117 0%
- AlertaDengue/api/settings.py 9 9 0%
- AlertaDengue/api/tests/__init__.py 0 0 100%
- AlertaDengue/api/tests/test_views.py 59 59 0%
- AlertaDengue/api/urls.py 4 4 0%
- AlertaDengue/api/views.py 93 93 0%
- AlertaDengue/conftest.py 0 0 100%
- AlertaDengue/dados/__init__.py 0 0 100%
- AlertaDengue/dados/charts.py 175 175 0%
- AlertaDengue/dados/dbdata.py 374 241 36%
- AlertaDengue/dados/episem.py 54 45 17%
- AlertaDengue/dados/maps.py 18 18 0%
- AlertaDengue/dados/models.py 37 3 92%
- AlertaDengue/dados/settings.py 10 2 80%
- AlertaDengue/dados/templatetags/__init__.py 1 1 0%
- AlertaDengue/dados/templatetags/alert_state.py 14 14 0%
- AlertaDengue/dados/templatetags/lookup.py 4 4 0%
- AlertaDengue/dados/templatetags/report_state.py 8 8 0%
- AlertaDengue/dados/tests/__init__.py 0 0 100%
- AlertaDengue/dados/tests/conftest.py 0 0 100%
- AlertaDengue/dados/tests/test_dbdata.py 41 0 100%
- AlertaDengue/dados/tests/test_maps.py 5 5 0%
- AlertaDengue/dados/tests/test_view.py 63 63 0%
- AlertaDengue/dados/tests/utils.py 0 0 100%
- AlertaDengue/dados/urls.py 23 23 0%
- AlertaDengue/dados/views.py 570 570 0%
- AlertaDengue/dbf/__init__.py 0 0 100%
- AlertaDengue/dbf/admin.py 3 0 100%
- AlertaDengue/dbf/apps.py 3 0 100%
- AlertaDengue/dbf/forms.py 32 32 0%
- AlertaDengue/dbf/management/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/load_sinan.py 15 15 0%
- AlertaDengue/dbf/migrations/0001_initial.py 9 9 0%
- AlertaDengue/dbf/migrations/0002_dbfchunkedupload.py 9 9 0%
- AlertaDengue/dbf/migrations/0003_dbf_state_abbreviation.py 5 5 0%
- AlertaDengue/dbf/migrations/0004_auto_20170323_0122.py 5 5 0%
- AlertaDengue/dbf/migrations/0005_dbf_municipio.py 5 5 0%
- AlertaDengue/dbf/migrations/0006_auto_20171114_1026.py 6 6 0%
- AlertaDengue/dbf/migrations/0007_auto_20180124_2239.py 7 7 0%
- AlertaDengue/dbf/migrations/__init__.py 0 0 100%
- AlertaDengue/dbf/models.py 28 6 79%
- AlertaDengue/dbf/sinan.py 90 90 0%
- AlertaDengue/dbf/tasks.py 33 33 0%
- AlertaDengue/dbf/urls.py 4 4 0%
- AlertaDengue/dbf/validation.py 33 21 36%
- AlertaDengue/dbf/views.py 43 43 0%
- AlertaDengue/forecast/__init__.py 0 0 100%
- AlertaDengue/forecast/admin.py 4 0 100%
- AlertaDengue/forecast/migrations/0001_initial.py 10 10 0%
- AlertaDengue/forecast/migrations/0002_create_table.py 8 8 0%
- AlertaDengue/forecast/migrations/0003_auto_20180124_2239.py 6 6 0%
- AlertaDengue/forecast/migrations/__init__.py 0 0 100%
- AlertaDengue/forecast/models.py 38 3 92%
- AlertaDengue/forecast/tests/__init__.py 0 0 100%
- AlertaDengue/forecast/tests/test_models.py 9 9 0%
- AlertaDengue/gis/__init__.py 0 0 100%
- AlertaDengue/gis/geodf.py 7 7 0%
- AlertaDengue/gis/geotiff.py 121 121 0%
- AlertaDengue/gis/management/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/generate_mapfiles.py 27 27 0%
- AlertaDengue/gis/management/commands/generate_meteorological_raster_cities.py 23 23 0%
- AlertaDengue/gis/management/commands/sync_geofiles.py 91 91 0%
- AlertaDengue/gis/mapfile.py 156 156 0%
- AlertaDengue/gis/settings.py 13 13 0%
- AlertaDengue/gis/tests/__init__.py 0 0 100%
- AlertaDengue/gis/tests/test_geotiff.py 57 57 0%
- AlertaDengue/gis/tests/test_mapfile.py 42 42 0%
- AlertaDengue/load.py 8 8 0%
- AlertaDengue/manage.py 6 6 0%
- AlertaDengue/manager/router.py 38 31 18%
- setup.py 41 41 0%
- ---------------------------------------------------------------------------------------------------
- TOTAL 2809 2421 14%
- ================================================================================ 7 passed in 1.04s ================================================================================
- (alertadengue) ✔ ~/work_lab/fiocruz/AlertaDengue_prod [add-db-demo-to-ci|✚ 5…2]
- 11:32 $ ENV_FILE=".env_staging" python -m pytest -s -x -vv AlertaDengue/dados/tests/test_view.py
- =============================================================================== test session starts ===============================================================================
- platform linux -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.12.0 -- /media/Data/miniconda/envs/alertadengue/bin/python
- cachedir: .pytest_cache
- django: settings: ad_main.settings (from env)
- rootdir: /media/Data/suplent/work_lab/fiocruz/AlertaDengue_prod, inifile: setup.cfg
- plugins: django-3.9.0, cov-2.8.1, pythonpath-0.7.3, celery-4.4.2
- collected 15 items
- AlertaDengue/dados/tests/test_view.py::TestAlertaStaticPageView::test_about Creating test database for alias 'default' ('test_dengue')...
- Creating test database for alias 'infodengue' ('test_infodengue')...
- PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaStaticPageView::test_contact PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaStaticPageView::test_data_public_services PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaStaticPageView::test_data_public_services_type PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaStaticPageView::test_joinin PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_SE <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_alerta <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_casos_por_ap <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_data1 <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_data2 <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_last_year <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_look_back <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_novos_casos <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_series_casos <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSED
- AlertaDengue/dados/tests/test_view.py::TestAlertaPageView::test_total_series <- ../../../../miniconda/envs/alertadengue/lib/python3.7/unittest/case.py PASSEDDestroying test database for alias 'default' ('test_dengue')...
- Destroying test database for alias 'infodengue' ('test_infodengue')...
- ----------- coverage: platform linux, python 3.7.6-final-0 -----------
- Name Stmts Miss Cover
- ---------------------------------------------------------------------------------------------------
- AlertaDengue/__init__.py 1 0 100%
- AlertaDengue/ad_main/__init__.py 2 0 100%
- AlertaDengue/ad_main/celery.py 6 0 100%
- AlertaDengue/ad_main/settings.py 70 3 96%
- AlertaDengue/ad_main/test_settings.py 2 2 0%
- AlertaDengue/ad_main/urls.py 7 0 100%
- AlertaDengue/ad_main/version.py 1 0 100%
- AlertaDengue/ad_main/wsgi.py 6 6 0%
- AlertaDengue/api/__init__.py 0 0 100%
- AlertaDengue/api/db.py 117 87 26%
- AlertaDengue/api/settings.py 9 0 100%
- AlertaDengue/api/tests/__init__.py 0 0 100%
- AlertaDengue/api/tests/test_views.py 59 59 0%
- AlertaDengue/api/urls.py 4 0 100%
- AlertaDengue/api/views.py 93 75 19%
- AlertaDengue/conftest.py 0 0 100%
- AlertaDengue/dados/__init__.py 0 0 100%
- AlertaDengue/dados/charts.py 175 103 41%
- AlertaDengue/dados/dbdata.py 374 263 30%
- AlertaDengue/dados/episem.py 54 14 74%
- AlertaDengue/dados/maps.py 18 10 44%
- AlertaDengue/dados/models.py 37 3 92%
- AlertaDengue/dados/settings.py 10 2 80%
- AlertaDengue/dados/templatetags/__init__.py 1 0 100%
- AlertaDengue/dados/templatetags/alert_state.py 14 6 57%
- AlertaDengue/dados/templatetags/lookup.py 4 1 75%
- AlertaDengue/dados/templatetags/report_state.py 8 3 62%
- AlertaDengue/dados/tests/__init__.py 0 0 100%
- AlertaDengue/dados/tests/conftest.py 0 0 100%
- AlertaDengue/dados/tests/test_dbdata.py 41 41 0%
- AlertaDengue/dados/tests/test_maps.py 5 5 0%
- AlertaDengue/dados/tests/test_view.py 63 22 65%
- AlertaDengue/dados/tests/utils.py 0 0 100%
- AlertaDengue/dados/urls.py 23 3 87%
- AlertaDengue/dados/views.py 570 384 33%
- AlertaDengue/dbf/__init__.py 0 0 100%
- AlertaDengue/dbf/admin.py 3 0 100%
- AlertaDengue/dbf/apps.py 3 0 100%
- AlertaDengue/dbf/forms.py 32 14 56%
- AlertaDengue/dbf/management/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/__init__.py 0 0 100%
- AlertaDengue/dbf/management/commands/load_sinan.py 15 15 0%
- AlertaDengue/dbf/migrations/0001_initial.py 9 9 0%
- AlertaDengue/dbf/migrations/0002_dbfchunkedupload.py 9 9 0%
- AlertaDengue/dbf/migrations/0003_dbf_state_abbreviation.py 5 5 0%
- AlertaDengue/dbf/migrations/0004_auto_20170323_0122.py 5 5 0%
- AlertaDengue/dbf/migrations/0005_dbf_municipio.py 5 5 0%
- AlertaDengue/dbf/migrations/0006_auto_20171114_1026.py 6 6 0%
- AlertaDengue/dbf/migrations/0007_auto_20180124_2239.py 7 7 0%
- AlertaDengue/dbf/migrations/__init__.py 0 0 100%
- AlertaDengue/dbf/models.py 28 6 79%
- AlertaDengue/dbf/sinan.py 90 69 23%
- AlertaDengue/dbf/tasks.py 33 20 39%
- AlertaDengue/dbf/urls.py 4 0 100%
- AlertaDengue/dbf/validation.py 33 21 36%
- AlertaDengue/dbf/views.py 43 16 63%
- AlertaDengue/forecast/__init__.py 0 0 100%
- AlertaDengue/forecast/admin.py 4 0 100%
- AlertaDengue/forecast/migrations/0001_initial.py 10 10 0%
- AlertaDengue/forecast/migrations/0002_create_table.py 8 8 0%
- AlertaDengue/forecast/migrations/0003_auto_20180124_2239.py 6 6 0%
- AlertaDengue/forecast/migrations/__init__.py 0 0 100%
- AlertaDengue/forecast/models.py 38 3 92%
- AlertaDengue/forecast/tests/__init__.py 0 0 100%
- AlertaDengue/forecast/tests/test_models.py 9 9 0%
- AlertaDengue/gis/__init__.py 0 0 100%
- AlertaDengue/gis/geodf.py 7 7 0%
- AlertaDengue/gis/geotiff.py 121 94 22%
- AlertaDengue/gis/management/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/__init__.py 0 0 100%
- AlertaDengue/gis/management/commands/generate_mapfiles.py 27 27 0%
- AlertaDengue/gis/management/commands/generate_meteorological_raster_cities.py 23 23 0%
- AlertaDengue/gis/management/commands/sync_geofiles.py 91 91 0%
- AlertaDengue/gis/mapfile.py 156 156 0%
- AlertaDengue/gis/settings.py 13 0 100%
- AlertaDengue/gis/tests/__init__.py 0 0 100%
- AlertaDengue/gis/tests/test_geotiff.py 57 57 0%
- AlertaDengue/gis/tests/test_mapfile.py 42 42 0%
- AlertaDengue/load.py 8 8 0%
- AlertaDengue/manage.py 6 6 0%
- AlertaDengue/manager/router.py 38 22 42%
- setup.py 41 41 0%
- ---------------------------------------------------------------------------------------------------
- TOTAL 2809 1909 32%
- =============================================================================== 15 passed in 8.22s ================================================================================
- (
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement