mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-20 10:57:22 +08:00
feat: fix preserve escaped newlines in frontmatter & update tests & ci workflows (#6783)
This commit is contained in:
@@ -626,6 +626,7 @@ class TestComputerClient:
|
||||
mock_config = MagicMock()
|
||||
mock_config.get = lambda key, default=None: {
|
||||
"provider_settings": {
|
||||
"computer_use_runtime": "sandbox",
|
||||
"sandbox": {
|
||||
"booter": "shipyard",
|
||||
"shipyard_endpoint": "http://localhost:8080",
|
||||
@@ -677,6 +678,7 @@ class TestComputerClient:
|
||||
mock_config = MagicMock()
|
||||
mock_config.get = lambda key, default=None: {
|
||||
"provider_settings": {
|
||||
"computer_use_runtime": "sandbox",
|
||||
"sandbox": {
|
||||
"booter": "unknown_type",
|
||||
}
|
||||
@@ -700,6 +702,7 @@ class TestComputerClient:
|
||||
mock_config = MagicMock()
|
||||
mock_config.get = lambda key, default=None: {
|
||||
"provider_settings": {
|
||||
"computer_use_runtime": "sandbox",
|
||||
"sandbox": {
|
||||
"booter": "shipyard",
|
||||
"shipyard_endpoint": "http://localhost:8080",
|
||||
@@ -744,6 +747,7 @@ class TestComputerClient:
|
||||
mock_config = MagicMock()
|
||||
mock_config.get = lambda key, default=None: {
|
||||
"provider_settings": {
|
||||
"computer_use_runtime": "sandbox",
|
||||
"sandbox": {
|
||||
"booter": "shipyard",
|
||||
"shipyard_endpoint": "http://localhost:8080",
|
||||
|
||||
Reference in New Issue
Block a user