in hpcpack-autoscaler/setup.py [0:0]
def finalize_options(self) -> None:
TestCommand.finalize_options(self)
import os
xml_out = os.path.join(".", "build", "test-results", "pytest.xml")
if not os.path.exists(os.path.dirname(xml_out)):
os.makedirs(os.path.dirname(xml_out))
# -s is needed so py.test doesn't mess with stdin/stdout
self.test_args = ["-s", "test", "--junitxml=%s" % xml_out]
# needed for older setuptools to actually run this as a test
self.test_suite = True