generic-poky/bitbake/lib/toaster/tests
Elliot Smith 6172fb1923 bitbake: toaster-tests: fix erroneous message when test fails
When one of the layer details tests fails (as it occasionally
does, if running on a machine under heavy load, due to sync issues),
the error message shown is misleading, as it is something like:

"Expected 'This was imported' in ['This was imported', ...]"

The string 'This was imported' is in the list shown in the message,
but the message suggests it isn't.

This is because the test compares the string with one list, but
then uses a different list in the fail message if the comparison
fails.

Fix the list shown in the message about the test failing.

(Bitbake rev: 34943b2278efe99c6744399e04a47cdda630468e)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-11 00:09:27 +01:00
..
browser bitbake: toaster-tests: fix erroneous message when test fails 2016-08-11 00:09:27 +01:00
builds bitbake: toaster: tests Rename test settings to python compliant name and fix import 2016-06-15 08:35:06 +01:00
__init__.py bitbake: toaster: tests Migrate to Selenium for UI tests 2016-04-01 07:14:58 +01:00
toaster-tests-requirements.txt bitbake: toaster: tests Migrate to Selenium for UI tests 2016-04-01 07:14:58 +01:00