Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. AssertionError:
  2. File "C:Python27libsite-packagesbehavemodel.py", line 1456, in run
  3. match.run(runner.context)
  4. File "C:Python27libsite-packagesbehavemodel.py", line 1903, in run
  5. self.func(context, *args, **kwargs)
  6. File "stepsEcuProperties.py", line 28, in step_impl
  7. assert vin == context.driver.find_element_by_xpath("//table[@id='infoTable']/tbody/tr[4]/td[2]").text
  8.  
  9. Scenario: Verify VIN in Retrieve ECU properties -> Failed on thread #0
  10. [ERROR] String lengths are both 16. Strings differ at index 15.
  11. Expected: "ABCDEFGH12345679"
  12. But was: "ABCDEFGH12345678"
  13. --------------------------^
  14.  
  15. assert world.number == expected,
  16. "Got %d" % world.number
  17.  
  18. if text not in context.response:
  19. fail('%r not in %r' % (text, context.response))
  20.  
  21. self.assertEqual('foo2'.upper(), 'FOO')
  22.  
  23. Failure
  24. Expected :'FOO2'
  25. Actual :'FOO'
  26. <Click to see difference>
  27.  
  28. Traceback (most recent call last):
  29. File "test.py", line 6, in test_upper
  30. self.assertEqual('foo2'.upper(), 'FOO')
  31. AssertionError: 'FOO2' != 'FOO'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement