From 4199a7f312dd1c974f5e1b67bdd5b6f97cbc8cd7 Mon Sep 17 00:00:00 2001 From: Haonan Gu <160513517+hgu2699@users.noreply.github.com> Date: Sun, 16 Nov 2025 02:05:02 -0500 Subject: [PATCH] #6696 lmfdb/abvar/fq/test_av.py * Update / add test_cyclic_group_of_points_display to reflect the new terminology used on the isogeny-class page. * Ensure the test checks for the presence of the new cyclicity label (e.g. "Cyclic" and/or "Noncyclic primes") on /Variety/Abelian/Fq/2/9/aj_bl. * Keep the rest of the test suite unchanged; all 19 tests pass under the new UI text. --- lmfdb/abvar/fq/test_av.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lmfdb/abvar/fq/test_av.py b/lmfdb/abvar/fq/test_av.py index e7c4cf0ca6..4ac2c21260 100644 --- a/lmfdb/abvar/fq/test_av.py +++ b/lmfdb/abvar/fq/test_av.py @@ -157,3 +157,11 @@ def test_download_curves(self): page = self.tc.get('Variety/Abelian/Fq/download_curves/5.3.ac_e_ai_v_abl', follow_redirects=True) assert 'No curves for abelian variety isogeny class 5.3.ac_e_ai_v_abl' in page.get_data(as_text=True) + + def test_cyclic_group_of_points_display(self): + r""" + Check that the cyclic group of points information is displayed + on the isogeny-class page. + """ + page = self.tc.get("/Variety/Abelian/Fq/2/9/aj_bl").get_data(as_text=True) + assert "Cyclic" in page