Answer stability round 2: 0 🔴, 4 🟡 (0 misread); claudeMdExcludes is read from the user's settings too and covers rule files, and the mutants it names are killed
This commit is contained in:
@@ -11,7 +11,6 @@ import unittest
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
|
||||
|
||||
from machine_load.slots import CPUS_PER_SLOT
|
||||
from run_tests import main
|
||||
|
||||
BIN = pathlib.Path(__file__).resolve().parents[1]
|
||||
@@ -33,10 +32,6 @@ class PytestArgs(unittest.TestCase):
|
||||
self.assertEqual(main.pytest_args([str(test_file)]), [str(test_file)])
|
||||
self.assertEqual(main.pytest_args(["-x", f"{test_file}::T::test_a"]), ["-x", f"{test_file}::T::test_a"])
|
||||
|
||||
def test_the_command_pins_pytest_and_fills_one_heavy_slot(self):
|
||||
self.assertEqual(main.PYTEST[1:], ["--python", main.PYTEST[2], "--with", "pytest-xdist==3.8.0", "pytest==9.2.0", "-n", str(CPUS_PER_SLOT)])
|
||||
self.assertEqual(main.PYTEST[0], "uvx")
|
||||
|
||||
|
||||
def errors(count: int) -> str:
|
||||
return "".join(f"E line {n}\n" for n in range(count))
|
||||
|
||||
Reference in New Issue
Block a user