tests: compare encoded values of keys When comparing instance names, treat unicode and str objects the same. Byte strings are supposed to use utf-8 encoding. Therefor unicode strings need to be encoded before comparison.
View Diff