mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-10 18:56:13 +00:00
fix: tests
This commit is contained in:
@@ -49,6 +49,18 @@ const char* const CLOUD_PLUGIN_SOURCE = R"PY(# /// script
|
|||||||
# version = "1.0"
|
# version = "1.0"
|
||||||
# ///
|
# ///
|
||||||
print('ok')
|
print('ok')
|
||||||
|
|
||||||
|
import orca
|
||||||
|
class stubscript(orca.script.ScriptPluginCapabilityBase):
|
||||||
|
def get_name(self):
|
||||||
|
return "stubscript"
|
||||||
|
def execute(self):
|
||||||
|
return orca.ExecutionResult.success("Stub orca script.")
|
||||||
|
|
||||||
|
@orca.plugin
|
||||||
|
class stubpackage(orca.base):
|
||||||
|
def register_capabilities(self):
|
||||||
|
orca.register_capability(stubscript)
|
||||||
)PY";
|
)PY";
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user