hjwp/Test-Driven-Django-Tutorial — pull request #18 by adorilson (2012-11-04 03:32:49+00:00)
Title: Update the 'At last! An FT for a normal page' section output

My output was:

$ ./manage.py test fts
Creating test database for alias 'default'...
.E
======================================================================
ERROR: test_voting_on_a_new_poll (fts.tests.PollsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/adorilson/workspace/tddjangotutorial/fts/tests.py", line 165, in test_voting_on_a_new_poll
heading = self.browser.find_element_by_tag_name('h1')
File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 309, in find_element_by_tag_name
return self.find_element(by=By.TAG_NAME, value=name)
File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 671, in find_element
{'using': by, 'value': value})['value']
File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute
self.error_handler.check_response(response)
File "/home/adorilson/.virtualenvs/dj1.4/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"tag name","selector":"h1"}'

----------------------------------------------------------------------
Ran 2 tests in 34.518s

FAILED (errors=1)
Destroying test database for alias 'default'...