Skip to content

Commit 9e8ca3d

Browse files
committed
Get the right box
1 parent 2c57c21 commit 9e8ca3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

downloads/tests/test_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_update_supernav(self):
121121

122122
update_supernav()
123123

124-
content = Box.objects.get(label='download-sources').content
124+
content = Box.objects.get(label='supernav-python-downloads').content
125125
self.assertIn('class="download-os-windows"', content)
126126
self.assertNotIn('pymanager-25.0.msix', content)
127127
self.assertIn('python3.10-windows.zip', content)
@@ -140,7 +140,7 @@ def test_update_supernav(self):
140140

141141
update_supernav()
142142

143-
content = Box.objects.get(label='download-sources').content
143+
content = Box.objects.get(label='supernav-python-downloads').content
144144
self.assertIn('class="download-os-windows"', content)
145145
self.assertIn('pymanager-25.0.msix', content)
146146
self.assertIn('python3.10-windows.zip', content)

0 commit comments

Comments
 (0)