File size: 428 Bytes
e8055cf | 1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|