chore: complete stem-launcher rename
This commit is contained in:
@@ -18,6 +18,18 @@ import rvctl # noqa: E402
|
||||
|
||||
|
||||
class StemctlContractTests(unittest.TestCase):
|
||||
def test_rvctl_compatibility_wrapper_is_silent(self) -> None:
|
||||
wrapper = Path(__file__).resolve().parents[1] / "rvctl"
|
||||
completed = subprocess.run(
|
||||
[str(wrapper), "--help"],
|
||||
text=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
)
|
||||
self.assertEqual(completed.returncode, 0, completed.stderr)
|
||||
self.assertNotIn("deprecated", completed.stderr.lower())
|
||||
self.assertNotIn("warning", completed.stderr.lower())
|
||||
|
||||
def test_new_command_help_never_crashes(self) -> None:
|
||||
script = Path(__file__).resolve().parents[1] / "rvctl.py"
|
||||
commands = ["env", "build", "test", "run", "debug", "deploy", "shell", "start", "status", "attach", "stop", "rm", "probe", "mcp"]
|
||||
|
||||
Reference in New Issue
Block a user