Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AssertionError:
- File "C:Python27libsite-packagesbehavemodel.py", line 1456, in run
- match.run(runner.context)
- File "C:Python27libsite-packagesbehavemodel.py", line 1903, in run
- self.func(context, *args, **kwargs)
- File "stepsEcuProperties.py", line 28, in step_impl
- assert vin == context.driver.find_element_by_xpath("//table[@id='infoTable']/tbody/tr[4]/td[2]").text
- Scenario: Verify VIN in Retrieve ECU properties -> Failed on thread #0
- [ERROR] String lengths are both 16. Strings differ at index 15.
- Expected: "ABCDEFGH12345679"
- But was: "ABCDEFGH12345678"
- --------------------------^
- assert world.number == expected,
- "Got %d" % world.number
- if text not in context.response:
- fail('%r not in %r' % (text, context.response))
- self.assertEqual('foo2'.upper(), 'FOO')
- Failure
- Expected :'FOO2'
- Actual :'FOO'
- <Click to see difference>
- Traceback (most recent call last):
- File "test.py", line 6, in test_upper
- self.assertEqual('foo2'.upper(), 'FOO')
- AssertionError: 'FOO2' != 'FOO'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement