Fakultas Ilmu Komputer UI

Commit 1709cb9b authored by Rayza Arasj Mahardhika's avatar Rayza Arasj Mahardhika
Browse files

add functional test for about page

parent af8d6030
......@@ -15,5 +15,10 @@ class NewVisitorTest(unittest.TestCase):
self.assertIn('Rayza\'s Homepage', self.browser.title)
def test_can_access_about_page(self):
self.browser.get('htts://localhost:8000/about')
self.assertIn('I\'m 21 years old')
if __name__ == '__main__':
unittest.main(warnings='ignore')
Supports Markdown
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