source: tox.ini@ 290e848

debian/bullseye
Last change on this file since 290e848 was b43efc1, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago

Fixed wront test assortion

  • Property mode set to 100644
File size: 2.1 KB
Line 
1[tox]
2envlist = clean,py3fast,py3slow
3#skipsdist = True
4
5[testenv]
6setenv =
7 CPLUS_INCLUDE_PATH=/usr/include/gdal
8 C_INCLUDE_PATH=/usr/include/gdal
9deps = -rrequirements.txt
10 -rtest-requirements.txt
11 pytest
12 pytest-cov
13 pytest-pep8
14 coverage
15commands =
16 pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8
17
18[testenv:clean]
19deps = coverage
20skip_install = true
21commands = coverage erase
22
23[testenv:py3fast]
24commands =
25 pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8 -m 'not slow' -k 'not test_tiles_tile_get and not test_users_register and not test_users_activate and not test_maps_tile_get and not test_shutdown and not test_log_create and not (test_device_logs_controller and test_logs_get)'
26
27[testenv:py3fastfailing]
28# tests, which are known to fail, but are autogenerated
29# this tests are excluded from py3fast and not in the standard env list
30commands =
31 pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html -k 'test_tiles_tile_get or test_users_register or test_users_activate or test_maps_tile_get or test_shutdown or test_log_create or (not test_logs_controller and test_logs_get)'
32
33[testenv:py3slow]
34commands =
35 pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html -m 'slow'
36
37[pytest]
38xfail_strict=true
39markers =
40 slow: marks tests as slow (deselect with '-m "not slow"')
41norecursedirs=src/mapservice-webclient/*
42 build/*
43pep8ignore =
44 src/gnuboat/common/spatial/tilegenerator.py E701
45 src/gnuboat/common/device/rrdschema.py E701
46 src/gnuboat/common/bin/gdal2tiles-gnuboat.py ALL
47 src/gnuboat/mapservice_impl/tasks/tileconfig.py E701
48 src/gnuboat/mapservice/controllers/*.py E501
49 src/gnuboat/mapservice/models/*.py E501
50 src/gnuboat/mapservice/test/*.py E501 W293
51 src/gnuboat/mapservice_client/*.py E402 E501 W503
52 src/gnuboat/deviceservice/controllers/*.py E501
53 src/gnuboat/deviceservice/models/*.py E501
54 src/gnuboat/deviceservice/test/*.py E251 E501 W293
Note: See TracBrowser for help on using the repository browser.