| from tests.test_analysis.conftest import ReportTestCase | |
| from analysis import F_reports | |
| class TestFReports(ReportTestCase): | |
| def test_F_legacy_and_future_perceived_layouts(self): | |
| for future in (False, True): | |
| result = F_reports.generate( | |
| self.symbolic(future), | |
| (), | |
| self.root / ("future" if future else "legacy"), | |
| ) | |
| self.assertEqual(result["path"].name, "F_report.json") | |
| cell = next(iter(result["report"]["cells"].values())) | |
| self.assertEqual(cell["identity"]["source"], "perceived") | |