my-homepage/my_homepage/test/run_pytest.py

7 lines
121 B
Python

import sys
import pytest
# if using 'bazel test ...'
if __name__ == "__main__":
sys.exit(pytest.main(sys.argv[1:]))