functional test can detect homepage and find its title

parent 95d095ff
...@@ -14,6 +14,7 @@ class NewVisitorTest(unittest.TestCase): ...@@ -14,6 +14,7 @@ class NewVisitorTest(unittest.TestCase):
# Check if the title of the homepage is Let's Make Froyo # Check if the title of the homepage is Let's Make Froyo
self.assertIn('Lets Make Froyo', self.browser.title) self.assertIn('Lets Make Froyo', self.browser.title)
self.fail('Finish the test!') self.fail('Finish the test!')
if __name__ == '__main__': if __name__ == '__main__':
unittest.main(warnings='ignore') unittest.main(warnings='ignore')
\ No newline at end of file
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