mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-23 13:20:41 +00:00
11 lines
222 B
Python
11 lines
222 B
Python
|
import sys
|
||
|
if __name__ == '__main__':
|
||
|
import pytest
|
||
|
sys.exit(pytest.main())
|
||
|
else:
|
||
|
import sys, pytest
|
||
|
sys.modules['py.test'] = pytest
|
||
|
|
||
|
# for more API entry points see the 'tests' definition
|
||
|
# in __init__.py
|