migration: preserve startup accounts and system slice

This commit is contained in:
leefer
2026-07-31 00:42:06 +08:00
parent e4a9b2e647
commit 982af4ba92
32 changed files with 6675 additions and 6321 deletions
+3 -1
View File
@@ -47,7 +47,9 @@ class DataGatewayTests(unittest.TestCase):
def test_server_has_no_direct_runtime_tushare_construction(self) -> None:
from pathlib import Path
source = (Path(__file__).resolve().parents[1] / "server.py").read_text(encoding="utf-8")
source = (
Path(__file__).resolve().parents[1] / "backend" / "application.py"
).read_text(encoding="utf-8")
self.assertEqual(source.count("TushareClient(self.token)"), 1)
self.assertIn("return gateway.tushare()", source)