new model fields & migrations for apps.epic & apps.lyric; new FTs, ITs & UTs passing
; some styling changes effected primarily to _gatekeetper.html modal
This commit is contained in:
@@ -41,3 +41,17 @@ class FreeTokenTooltipTest(SimpleTestCase):
|
||||
def test_tooltip_contains_expiry_date(self):
|
||||
self.assertIn("2026-03-15", self.token.tooltip_text())
|
||||
|
||||
|
||||
class PassTokenTooltipTest(SimpleTestCase):
|
||||
def setUp(self):
|
||||
self.token = Token()
|
||||
self.token.token_type = Token.PASS
|
||||
self.token.expires_at = None
|
||||
self.token.next_ready_at = None
|
||||
|
||||
def test_tooltip_contains_name(self):
|
||||
self.assertIn("Backstage Pass", self.token.tooltip_text())
|
||||
|
||||
def test_tooltip_contains_no_expiry(self):
|
||||
self.assertIn("no expiry", self.token.tooltip_text())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user