File: run_tests.py

package info (click to toggle)
uranium 5.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,304 kB
  • sloc: python: 31,765; sh: 132; makefile: 12
file content (16 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import pytest
from pathlib import Path

# Small helper script to run the coverage of main code & all plugins

path = Path("plugins")
args = []
for p in path.glob('**/*'):
	if p.is_dir():
		if p.name in ["__pycache__", "tests"]:
			continue
		args.append(str(p))

args.append(".")
print(pytest.main(args))