apps.lyric.views updated with simpler FBV & test functionality for user login & authentication (some mocking employed); FT in test_simple_list_creation updated for new base.html content from several commits previous, now only FT not passing (to be expected) is under test_login

This commit is contained in:
Disco DeDisco
2026-01-31 15:16:34 -05:00
parent 9c102ac0f5
commit d236ab9d69
4 changed files with 17 additions and 10 deletions

View File

@@ -10,9 +10,9 @@ class NewVisitorTest(FunctionalTest):
def test_can_start_a_todo_list(self):
self.browser.get(self.live_server_url)
self.assertIn('Dashboard', self.browser.title)
self.assertIn('Earthman RPG', self.browser.title)
header_text = self.browser.find_element(By.TAG_NAME, 'h1').text
self.assertIn('Dashboard', header_text)
self.assertIn('Welcome', header_text)
inputbox = self.get_item_input_box()
self.assertEqual(inputbox.get_attribute('placeholder'), 'Enter a to-do item')