mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-26 23:00:36 +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
|