- Implement tests for image layer functionality including alpha curve and depth layer behavior. - Create tests for image plane evaluation and modifier input handling. - Add tests to verify the saved asset inventory and its persistence. - Introduce tests for the documentation command to ensure correct project version deployment. - Validate the extension manifest structure and required permissions. - Develop tests for the packaging process, ensuring correct platform handling and dependency management. - Enhance image depth plane group functionality with new split threshold input and surface processing.
24 lines
647 B
Python
24 lines
647 B
Python
from tests.support.paths import PROJECT_ROOT
|
|
import tomllib
|
|
import unittest
|
|
|
|
|
|
class ToolCommandsTests(unittest.TestCase):
|
|
def test_repository_tools_have_uv_commands(self):
|
|
project = tomllib.loads(
|
|
(PROJECT_ROOT / "pyproject.toml").read_text(encoding="utf-8")
|
|
)["project"]
|
|
self.assertEqual(
|
|
project["scripts"],
|
|
{
|
|
"pack": "tools.pack:main",
|
|
"build_nodes": "tools.nodes.cli:main",
|
|
"sync_models": "tools.models.cli:main",
|
|
"docs": "tools.docs:main",
|
|
},
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|