More testing

parent d66f6ef7
......@@ -36,17 +36,17 @@ class NewVisitorTest(unittest.TestCase):
# containing more information about the hero (additional stats, lore, image).
self.browser.get('http://localhost:8000/hero/cloud/')
self.browser.get('http://localhost:8000/hero/jester/')
self.browser.get('http://localhost:8000/hero/sunflowey/')
#self.browser.get('http://localhost:8000/hero/jester/')
#self.browser.get('http://localhost:8000/hero/sunflowey/')
# She spots the page title and header mentions the name of the hero she selected.
self.assertIn('Cloud', self.browser.title)
self.assertIn('Jester', self.browser.title)
self.assertIn('Sunflowey', self.browser.title)
#self.assertIn('Jester', self.browser.title)
#self.assertIn('Sunflowey', self.browser.title)
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List".
# She clicks this and she is redirected back to the wiki's homepage.
browser.get('http://localhost:8000')
self.browser.get('http://localhost:8000')
self.fail('Finish the test!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment