FreedomBox/pyproject.toml
Fioddor Superconcentrado cb539cf1e8
tests: Improve handling of tests skipped by default
- Create the 'heavy' mark for tests that take long to run.
- Skip the tests marked as 'heavy' by default.
- Enable functional and heavy tests by setting the environment variable
  EXTENDED_TESTING=1.
- Update HACKING.md accordingly.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Minor indentation]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-10 19:22:13 -07:00

71 lines
1.1 KiB
TOML

[tool.isort]
known_first_party = ["plinth"]
[tool.coverage.run]
branch = true
omit = ["*/tests/*"]
[tool.coverage.report]
precision = 2
omit = ["*/tests/*"]
[tool.pytest.ini_options]
addopts = "--ds=plinth.tests.data.django_test_settings"
markers = [
"essential",
"functional",
"skip",
"heavy",
"apps",
"avahi",
"backups",
"bepasty",
"bind",
"calibre",
"cockpit",
"config",
"coturn",
"datetime",
"deluge",
"dynamicdns",
"ejabberd",
"gitweb",
"help",
"i2p",
"ikiwiki",
"infinoted",
"jsxc",
"matrixsynapse",
"mediawiki",
"minetest",
"minidlna",
"mldonkey",
"monkeysphere",
"mumble",
"openvpn",
"pagekite",
"performance",
"privoxy",
"quassel",
"radicale",
"roundcube",
"samba",
"searx",
"security",
"shadowsocks",
"sharing",
"snapshot",
"ssh",
"sso",
"storage",
"syncthing",
"system",
"tahoe",
"tor",
"transmission",
"ttrss",
"upgrades",
"users",
"zoph",
]