chore(repo): replace app symlink/submodule with in-repo app directory; enable committing app/Dockerfile and tooling\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
a12270ad01
commit
ae2c674b81
25 files changed
+3417
-1
No files matched your search
@@ -0,0 +1,34 @@
|
||||
import sys
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
import run_migration
|
||||
|
||||
|
||||
class RunMigrationCliTests(unittest.TestCase):
|
||||
def test_model_defaults_to_glm(self) -> None:
|
||||
argv = [
|
||||
"run_migration.py",
|
||||
"--batch-id",
|
||||
"b1",
|
||||
"--file-list",
|
||||
"files.txt",
|
||||
]
|
||||
with patch.object(sys, "argv", argv):
|
||||
args = run_migration._parse_args()
|
||||
self.assertEqual(args.model, "glm")
|
||||
|
||||
def test_model_accepts_qwen(self) -> None:
|
||||
argv = [
|
||||
"run_migration.py",
|
||||
"--batch-id",
|
||||
"b1",
|
||||
"--file-list",
|
||||
"files.txt",
|
||||
"--model",
|
||||
"qwen",
|
||||
]
|
||||
with patch.object(sys, "argv", argv):
|
||||
args = run_migration._parse_args()
|
||||
self.assertEqual(args.model, "qwen")
|
||||
|
||||
Reference in new issue
Block a user