Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class NewVisitorTest(unittest.TestCase):
- def setUp(self):
- self.browser = webdriver.Firefox()
- def tearDown(self):
- self.browser.quit()
- def testcan_start_a_list_and_retrieve_it_later(self):
- self.browser.get('http://localhost:8000')
- self.assertIn('To-Do', self.browser.title)
- self.fail('finish test')
- if __name__ == '__main__':
- unittest.main(warnings='ignore')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement