UnicodeEncodeError when using when_string

Thank to mpdehaan reply :

using the new syntax available (and preferred) in 1.2

when: “‘AWESOME’ not in result.content”

This works like a charm