File: __init__.py

package info (click to toggle)
python-protobix 1.0.2-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: python: 2,321; sql: 35; sh: 32; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

import sys
import pytest
try:
    import coverage
    coverage_options = ['--cov', 'protobix', '--cov-report', 'term-missing']
except ImportError:
    coverage_options = []
try:
    import pylint
    pylint_options = ['--pylint ']
except ImportError:
    pylint_options = []

pytest_options = ['-v']
pytest_options += coverage_options
pytest_options += pylint_options

pytest.main(pytest_options)