fix ITs: update SigSelectRenderingTest for sig-info-* rename + energies/operations data attrs — TDD
All checks were successful
ci/woodpecker/push/pyswiss Pipeline was successful
ci/woodpecker/push/main Pipeline was successful

Code architected by Disco DeDisco <discodedisco@outlook.com>
Git commit message Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Disco DeDisco
2026-04-28 20:25:47 -04:00
parent ed55e4e529
commit 239da7e5b1

View File

@@ -1116,18 +1116,19 @@ class SigSelectRenderingTest(TestCase):
self.assertContains(response, "stat-face--upright")
self.assertContains(response, "stat-face--reversed")
def test_sig_cards_render_cautions_data_attribute(self):
def test_sig_cards_render_energies_operations_data_attributes(self):
response = self.client.get(self.url)
self.assertContains(response, "data-cautions=")
self.assertContains(response, "data-energies=")
self.assertContains(response, "data-operations=")
def test_sig_caution_tooltip_structure_rendered(self):
def test_sig_info_panel_structure_rendered(self):
response = self.client.get(self.url)
self.assertContains(response, "sig-caution-tooltip")
self.assertContains(response, "sig-caution-btn")
self.assertContains(response, "sig-caution-effect")
self.assertContains(response, "sig-caution-index")
self.assertContains(response, "sig-caution-prev")
self.assertContains(response, "sig-caution-next")
self.assertContains(response, "sig-info")
self.assertContains(response, "sig-info-btn")
self.assertContains(response, "sig-info-effect")
self.assertContains(response, "sig-info-index")
self.assertContains(response, "sig-info-prev")
self.assertContains(response, "sig-info-next")
class SelectSigCardViewTest(TestCase):