From d49eb696cb35887682251d7dde41f4c00f1ebc7c Mon Sep 17 00:00:00 2001 From: David Roe Date: Fri, 3 Jan 2025 19:33:26 -0800 Subject: [PATCH 1/2] Change test to accommodate new abvar data --- lmfdb/abvar/fq/test_av.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmfdb/abvar/fq/test_av.py b/lmfdb/abvar/fq/test_av.py index 24e2e770d0..8d260441e3 100644 --- a/lmfdb/abvar/fq/test_av.py +++ b/lmfdb/abvar/fq/test_av.py @@ -152,7 +152,7 @@ def test_download_curves(self): page = self.tc.get('Variety/Abelian/Fq/download_curves/2.19.ae_w', follow_redirects=True) assert 'y^2=3*x^6+18*x^5+15*x^4+12*x^3+x^2+5*x+18' in page.get_data(as_text=True) - page = self.tc.get('Variety/Abelian/Fq/3.17.d_b_act', follow_redirects=True) + page = self.tc.get('Variety/Abelian/Fq/5/3/ac_e_ai_v_abl', follow_redirects=True) assert 'Curves to text' not in page.get_data(as_text=True) page = self.tc.get('Variety/Abelian/Fq/download_curves/3.17.d_b_act', follow_redirects=True) From f247713985b65190eaf3847f8d87989cfa1269cd Mon Sep 17 00:00:00 2001 From: David Roe Date: Fri, 3 Jan 2025 20:12:30 -0800 Subject: [PATCH 2/2] Fix another test --- lmfdb/abvar/fq/test_av.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lmfdb/abvar/fq/test_av.py b/lmfdb/abvar/fq/test_av.py index 8d260441e3..e7c4cf0ca6 100644 --- a/lmfdb/abvar/fq/test_av.py +++ b/lmfdb/abvar/fq/test_av.py @@ -155,5 +155,5 @@ def test_download_curves(self): page = self.tc.get('Variety/Abelian/Fq/5/3/ac_e_ai_v_abl', follow_redirects=True) assert 'Curves to text' not in page.get_data(as_text=True) - page = self.tc.get('Variety/Abelian/Fq/download_curves/3.17.d_b_act', follow_redirects=True) - assert 'No curves for abelian variety isogeny class 3.17.d_b_act' in page.get_data(as_text=True) + 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)