#!/usr/bin/env python
import sys
import pytest

if __name__ == '__main__':
    sys.exit(pytest.main())

#!/usr/bin/env python
import sys
import pytest

if __name__ == '__main__':
    # show output results from every test function
    args = ['-v']
    # show the message output for skipped and expected failure tests
    args.append('-rxs')
    # compute coverage stats for bluesky
    args.extend(['--cov', 'bluesky'])
    # call pytest and exit with the return code from pytest so that
    # travis will fail correctly if tests fail
    sys.exit(pytest.main(args))

Clarify py.test arguments in run_test.py
TST: Clarify py.test arguments in run_test.py
