workspace / tests /test_analysis /test_C_reports.py
AntonioJun's picture
Replace tests with local workspace contents
e8055cf verified
Raw
History Blame Contribute Delete
418 Bytes
from tests.test_analysis.conftest import ReportTestCase, vlm
from analysis import C_reports
class TestCReports(ReportTestCase):
def test_C_report_is_exported(self):
result = C_reports.generate(
self.directory("C", [vlm("C")]), ["base"], self.root / "reports"
)
self.assertEqual(result["path"].name, "C_report.json")
self.assertEqual(len(result["report"]["cells"]), 1)