    def test_parse_unicode(self):
        '''Tests parsing a command with unicode.'''
        sb = bot.SecurityBot(None, None, None)
        command = u'command \u2014flag'
        assert sb.parse_command(command) == ('command', ['--flag'])
        command = u'command \u201cquoted text\u201d'
        assert sb.parse_command(command) == ('command', ['quoted text'])
Tests parsing a command with unicode.
tests/bot_test.py