Last active
August 29, 2015 14:01
-
-
Save julnarot/c6f3e084e37c2571cb14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PollsTest(LiveServerTestCase): | |
| def setUp(self): | |
| self.browser = webdriver.Firefox() | |
| self.browser.implicitly_wait(3) | |
| def tearDown(self): | |
| self.browser.quit() | |
| def test_can_create_new_poll_via_admin_site(self): | |
| self.browser.get(self.live_server_url + '/admin/') | |
| body = self.browser.find_element_by_tag_name('body') | |
| self.assertIn('Django administration', body.text) | |
| self.fail('finish this test') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment