Skip to content

Commit 703f9c8

Browse files
authored
Merge pull request #6699 from LMFDB/copilot/fix-6698
2 parents 1de23fb + eb5f57e commit 703f9c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lmfdb/sato_tate_groups/test_st.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,11 @@ def test_underlying_data(self):
115115
and 'gps_groups' in data and 'number_normal_subgroups' in data)
116116
page = self.tc.get('/SatoTateGroup/0.1.2').get_data(as_text=True)
117117
assert 'Underlying data' not in page
118+
119+
def test_issue_6691_fixed(self):
120+
"""Test that issue #6691 is fixed: labels with non-numeric component group parts don't crash"""
121+
# The specific URL from issue #6691 that was causing ValueError
122+
page = self.tc.get('/SatoTateGroup/1.2.A.c13284')
123+
data = page.get_data(as_text=True)
124+
# Check that the page loads correctly and shows a supergroup
125+
assert '1.2.A.c26568' in data

0 commit comments

Comments
 (0)