workspace / tests /test_analysis /test_B_reports.py
AntonioJun's picture
Replace tests with local workspace contents
e8055cf verified
Raw
History Blame Contribute Delete
428 Bytes
from tests.test_analysis.conftest import ReportTestCase, vlm
from analysis import B_reports
class TestBReports(ReportTestCase):
def test_B_report_contains_spatial_cell(self):
result = B_reports.generate(
self.directory("B", [vlm("B")]), ["base"], self.root / "reports"
)
self.assertEqual(result["path"].name, "B_report.json")
self.assertEqual(len(result["report"]["cells"]), 1)