Sync Zonghengjia iPhone and iPad 1.0.4 source candidate
This commit is contained in:
@@ -36,7 +36,7 @@ class SourceAuditTests(unittest.TestCase):
|
||||
|
||||
def test_valid_source_reports_only_source_acceptance(self):
|
||||
report = self.run_audit()
|
||||
self.assertEqual(report["source_version"], "1.0.3")
|
||||
self.assertEqual(report["source_version"], "1.0.4")
|
||||
self.assertFalse(report["swift_compilation_executed"])
|
||||
self.assertFalse(report["xctest_executed"])
|
||||
self.assertFalse(report["ipa_generated"])
|
||||
@@ -67,7 +67,7 @@ class SourceAuditTests(unittest.TestCase):
|
||||
|
||||
def test_version_mismatch_stops_audit(self):
|
||||
path = self.root / "README.md"
|
||||
path.write_text(path.read_text(encoding="utf-8").replace("1.0.3", "1.0.2"), encoding="utf-8")
|
||||
path.write_text(path.read_text(encoding="utf-8").replace("1.0.4", "1.0.3"), encoding="utf-8")
|
||||
with self.assertRaisesRegex(RuntimeError, "版本不一致"):
|
||||
self.run_audit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user