patman: Avoid unicode type in settings unit tests
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:52 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit7ebb45c7e2e1b8355ec4802e0802ae7b383a6ea5
treed72134456fc20c46269c3dc14abd19fce1605e60
parentb644c66f693c82750077b6f7530dde79f2ad7523
patman: Avoid unicode type in settings unit tests

The unicode type does not exist in Python 3 and when displaying strings
they do not have the 'u' prefix. Adjusts the settings unit tests to deal
with this difference, by converting the comparison value to a string, thus
dropping the 'u'.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/settings.py