Files
KArtSell.Aegis/scripts/tests/test_scaffold_ui_screen.py
T
kjh2064 dcd1322d41
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s
Initial commit: Add project files
2026-08-02 05:15:36 +09:00

18 lines
666 B
Python

from pathlib import Path
import subprocess
import tempfile
import unittest
class ScaffoldUiScreenTests(unittest.TestCase):
def test_tool_contains_vendor_boundary(self):
root = Path(__file__).resolve().parents[2]
text = (root / 'tools/scaffold_ui_screen.py').read_text(encoding='utf-8')
self.assertIn('standard UI screen without vendor imports', text)
for template in (root / 'templates/vue/screens').glob('*.template'):
body = template.read_text(encoding='utf-8')
self.assertNotIn("from 'primevue", body)
self.assertNotIn("from 'ag-grid", body)
if __name__ == '__main__':
unittest.main()