Changed test from str to basestring in order to support python3 raet now may have unicode strings in msgs.
Changed test from str to basestring
in order to support python3 raet now may have unicode strings in msgs.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt