File: test_missing_dependencies.py

package info (click to toggle)
smart-open 7.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: python: 8,054; sh: 90; makefile: 14
file content (12 lines) | stat: -rw-r--r-- 239 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
import os
import subprocess

os.environ['SMART_OPEN_TEST_MISSING_DEPS'] = '1'
command = [
    'pytest',
    'tests/test_package.py',
    '-v',
    '--cov', 'smart_open',
    '--cov-report', 'term-missing',
]
subprocess.check_call(command)