mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
21 lines
342 B
Python
21 lines
342 B
Python
import pytest
|
|
|
|
# python3 -m pytest test_server.py -v --html=/var/www/html/report.html --json-report --json-report-file="/var/www/html/report.json" --timeout=60
|
|
|
|
# pytest.main(["-s", "-v"])
|
|
import pytest
|
|
|
|
import subprocess
|
|
|
|
|
|
# define cmd function
|
|
|
|
|
|
|
|
|
|
def main():
|
|
pytest.main(['--html=report.html'])
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|