mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-29 13:40:00 +08:00
fixed # 新增本地部署脚本,一键生成对应平台的压缩包内容
This commit is contained in:
@@ -117,6 +117,11 @@ class NoneBotPackageTests(unittest.TestCase):
|
||||
commit = next(data for method, path, data in calls
|
||||
if path == "git/commits")
|
||||
self.assertEqual(commit["parents"], ["existing"])
|
||||
self.assertEqual(commit["message"], (
|
||||
manifest["source"]["message"] + "\n\n"
|
||||
+ "Farm-Source-Commit: " + manifest["source"]["commit"] + "\n"
|
||||
+ "Farm-Version: " + manifest["version"]
|
||||
))
|
||||
self.assertIn(("PATCH", "git/refs/heads/main", {
|
||||
"sha": "generated", "force": False,
|
||||
}), calls)
|
||||
|
||||
Reference in New Issue
Block a user