Release v1.0.56: Credential & Browser Profile Manager
All checks were successful
技能自动化发布 / release (push) Successful in 7s
All checks were successful
技能自动化发布 / release (push) Successful in 7s
This commit is contained in:
21
tests/run_tests.py
Normal file
21
tests/run_tests.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Test runner for account-manager.
|
||||
|
||||
Run:
|
||||
pytest tests/ -v
|
||||
python tests/run_tests.py -v
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
_script_dir = os.path.join(os.path.dirname(__file__), "..", "scripts")
|
||||
if _script_dir not in sys.path:
|
||||
sys.path.insert(0, _script_dir)
|
||||
|
||||
if __name__ == "__main__":
|
||||
import pytest
|
||||
|
||||
tests_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
args = [tests_dir, "-v"] + sys.argv[1:]
|
||||
sys.exit(pytest.main(args))
|
||||
Reference in New Issue
Block a user