mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
fix(tests): import unittest.mock as a plain import in the cache render test
test_render.py imported unittest both as a module and through from-import, which tests/lint/repository/python/test_import_and_import_from.py rejects; quality-high on main 2f1fc493cd failed test-lint on it. The test now imports unittest.mock as mock.
🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %
Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9529ece377
commit
ba8680a7f8
1 file changed
+1
-1
+1
-1
@@ -10,8 +10,8 @@ from __future__ import annotations
|
||||
import stat
|
||||
import tempfile
|
||||
import unittest
|
||||
import unittest.mock as mock
|
||||
from pathlib import Path
|
||||
from unittest import mock
|
||||
|
||||
from utils.cache.hosts import host_records
|
||||
from utils.cache.render import _write, upstreams_conf
|
||||
|
||||
Reference in new issue
Block a user