[bazel] Generating pytest.ini file with proper test discovery settings.
import pytest
+
+with open("pytest.ini", "w") as ini_file:
+ ini_file.write("[pytest]\n")
+ ini_file.write("addopts = -r=a\n")
+ ini_file.write("python_files = test_*.py *_tests.py\n")
+
raise SystemExit(pytest.main())
\ No newline at end of file
