Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
26
venv/Lib/site-packages/qtpy/tests/runtests.py
Normal file
26
venv/Lib/site-packages/qtpy/tests/runtests.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright © 2015- The Spyder Development Team
|
||||
#
|
||||
# Licensed under the terms of the MIT License
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
"""File for running tests programmatically."""
|
||||
|
||||
# Standard library imports
|
||||
import sys
|
||||
|
||||
# Third party imports
|
||||
import qtpy # to ensure that Qt4 uses API v2
|
||||
import pytest
|
||||
|
||||
|
||||
def main():
|
||||
"""Run pytest tests."""
|
||||
errno = pytest.main(['-x', 'qtpy', '-v', '-rw', '--durations=10',
|
||||
'--cov=qtpy', '--cov-report=term-missing'])
|
||||
sys.exit(errno)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue