File: runtests.py

package info (click to toggle)
python-kgb 7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: python: 4,466; makefile: 3
file content (14 lines) | stat: -rwxr-xr-x 316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
from __future__ import print_function, unicode_literals

import os
import sys

import pytest


if __name__ == '__main__':
    print('This is deprecated! Please run pytest instead.')
    print()
    os.chdir(os.path.join(os.path.dirname(__file__), '..'))
    sys.exit(pytest.main(sys.argv[1:]))