generic-poky/bitbake/lib/toaster
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
..
bldcollector bitbake: toaster: admin Add Layer_Version to the admin-able models 2016-07-26 08:10:36 +01:00
bldcontrol bitbake: toaster: move most recent builds templating to client 2016-08-11 00:09:26 +01:00
contrib bitbake: toaster: fix wrong usage of print_exc and format_exc 2016-06-15 08:35:06 +01:00
orm bitbake: toaster: add started property to Build 2016-08-11 00:09:26 +01:00
tests bitbake: toaster-tests: fix erroneous message when test fails 2016-08-11 00:09:27 +01:00
toastergui bitbake: toaster: adjust build dashboard for failed builds 2016-08-11 00:09:26 +01:00
toastermain 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: add toaster code to bitbake 2013-10-18 11:13:49 +01:00
manage.py bitbake: toaster: changed python version in shebang 2016-06-15 08:35:06 +01:00