@@ -11,34 +11,34 @@ class RandomRedirectTest(LmfdbTest):
1111 # Dictionary mapping all random routes to expected text in the final page
1212 # This is used across all tests to ensure consistency
1313 RANDOM_ROUTES = {
14- '/NumberField/random' : 'Discriminant ' ,
14+ '/NumberField/random' : 'Number field ' ,
1515 '/Variety/Abelian/Fq/random' : 'Abelian variety' ,
1616 '/ArtinRepresentation/random' : 'Artin representation' ,
1717 '/Belyi/random' : 'Belyi map' ,
18- '/ModularForm/GL2/ImaginaryQuadratic/random' : 'Bianchi modular form ' ,
18+ '/ModularForm/GL2/ImaginaryQuadratic/random' : 'Bianchi' ,
1919 '/Character/Dirichlet/random' : 'Dirichlet character' ,
20- '/ModularForm/GL2/Q/holomorphic/random/' : 'Newform ' ,
20+ '/ModularForm/GL2/Q/holomorphic/random/' : 'Modular form ' ,
2121 '/ModularForm/GL2/Q/holomorphic/random_space/' : 'Newspace' ,
2222 '/EllipticCurve/random/' : 'Elliptic curve' ,
2323 '/EllipticCurve/Q/random' : 'Elliptic curve' ,
2424 '/GaloisGroup/random' : 'Galois group' ,
25- '/Genus2Curve/Q/random/' : 'Genus 2 curve ' ,
26- '/Groups/Abstract/random' : 'Group information ' ,
27- '/Groups/GLnC/random' : 'GL ' ,
28- '/Groups/GLnQ/random' : 'GL ' ,
29- '/HigherGenus/C/Aut/random' : 'Family of higher genus curves ' ,
30- '/ModularForm/GL2/TotallyReal/random' : 'Hilbert modular form ' ,
31- '/random' : 'L-functions ' , # homepage random redirects to various objects
32- '/Motive/Hypergeometric/Q/random_family' : 'Hypergeometric motive family' ,
33- '/Motive/Hypergeometric/Q/random_motive' : 'Hypergeometric motive' ,
25+ '/Genus2Curve/Q/random/' : 'Genus 2' ,
26+ '/Groups/Abstract/random' : 'Abstract ' ,
27+ '/Groups/GLnC/random' : 'Subgroup ' ,
28+ '/Groups/GLnQ/random' : 'Subgroup ' ,
29+ '/HigherGenus/C/Aut/random' : 'genus' ,
30+ '/ModularForm/GL2/TotallyReal/random' : 'Hilbert' ,
31+ '/random' : 'LMFDB ' , # homepage random redirects to various objects
32+ '/Motive/Hypergeometric/Q/random_family' : 'family' ,
33+ '/Motive/Hypergeometric/Q/random_motive' : 'motive' ,
3434 '/Lattice/random' : 'Lattice' ,
3535 '/L/random' : 'L-function' ,
36- '/padicField/random' : 'p- adic field ' ,
37- '/ModularForm/GL2/Q/Maass/random' : 'Maass form ' ,
38- '/ModLGaloisRepresentation/Q/random/' : 'mod-ℓ Galois representation ' ,
36+ '/padicField/random' : 'adic' ,
37+ '/ModularForm/GL2/Q/Maass/random' : 'Maass' ,
38+ '/ModLGaloisRepresentation/Q/random/' : 'Galois' ,
3939 '/ModularCurve/Q/random/' : 'Modular curve' ,
40- '/SatoTateGroup/random' : 'Sato-Tate group ' ,
41- '/ModularForm/GSp/Q/random' : 'Siegel modular form ' ,
40+ '/SatoTateGroup/random' : 'Sato-Tate' ,
41+ '/ModularForm/GSp/Q/random' : 'Siegel' ,
4242 }
4343
4444 def test_random_redirect_status_code (self ):
0 commit comments