# -*- 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))