Skip to content

Instantly share code, notes, and snippets.

@Copser
Created November 15, 2014 06:09
Show Gist options
  • Save Copser/3d621a0c7ba3c21b586d to your computer and use it in GitHub Desktop.
Save Copser/3d621a0c7ba3c21b586d to your computer and use it in GitHub Desktop.
Chapter 5: Saving User Input
petarp@petarp-Aspire-5315:~/Documents/TDD/superlists$ python3 functional_tests.py
F
======================================================================
FAIL: test_can_start_a_list_and_retrieve_it_later (__main__.NewVisitorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "functional_tests.py", line 45, in test_can_start_a_list_and_retrieve_it_later
self.check_for_row_in_list_table('1: Buy peacock feathers')
File "functional_tests.py", line 17, in check_for_row_in_list_table
self.assertIn(row_text, [row.text for row in rows])
AssertionError: '1: Buy peacock feathers' not found in ['1:', '2:', '3: Buy peacock feathers', '4: Buy peacock feathers', '5: Buy peacock feathers', '6: Buy peacock feathers', '7: Buy peacock feathers']
----------------------------------------------------------------------
Ran 1 test in 8.483s
FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment