-
Notifications
You must be signed in to change notification settings - Fork 17
/
pytest.ini
46 lines (38 loc) · 1.53 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[pytest]
addopts =
-rsfEX -p pytester --strict-markers --verbosity=3
--doctest-glob="*.rst" --doctest-glob="*.txt" --doctest-glob="*.py"
--doctest-modules --doctest-ignore-import-errors --doctest-continue-on-failure --doctest-report ndiff
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
testpaths =
kotori
test
# Disable ellipsis truncation
# https://stackoverflow.com/questions/38000993/how-can-i-get-my-assertions-in-pytest-to-stop-being-abbreviated-with-ellipsis/38009364#38009364
# addopts = -vvvv --showlocals -p no:xvfb -r a
log_level = DEBUG
log_format = %(asctime)-15s.%(msecs).3f [%(name)-35s] %(levelname)-8s: %(message)s
log_date_format = %Y-%m-%dT%H:%M:%S
log_cli = true
log_cli_level = DEBUG
filterwarnings =
ignore::DeprecationWarning
markers =
http: Tests using HTTP.
export: Tests for exporting data.
mqtt: Tests only doing MQTT.
influxdb: Tests specific to InfluxDB.
grafana: Tests interacting with Grafana.
mongodb: Tests using MongoDB.
events: Tests only doing something with events.
tasmota: Tests for the Tasmota decoder.
wemos: Tests specific to Wemos devices.
homie: Tests specific to the Homie firmware framework.
airrohr: Tests specific to Airrohr devices.
weewx: Tests for WeeWX integration.
tts: Tests for TTS/TTN adapter.
ttn: Tests for TTS/TTN adapter.
hiveeyes: Tests for vendor hiveeyes.
legacy: Tests for legacy endpoints and such.
device: Device-based addressing.
strategy: Transformation strategies.