def test_decode(self): assert isinstance(ENCODED, str) assert_equals(decode_output(ENCODED), UNICODE)
def test_force_decoding(self): assert isinstance(ENCODED, unicode) assert_equals(decode_output(ENCODED, force=True), UNICODE)
def test_bytes_are_decoded(self): assert_equals(decode_output(bytes(ENCODED)), UNICODE)
def test_return_unicode_as_is_by_default(self): assert isinstance(UNICODE, unicode) assert_equals(decode_output(UNICODE), UNICODE)
def test_force_decoding(self): assert_equals(decode_output(ENCODED, force=True), UNICODE)
def test_decode(self): assert_equals(decode_output(ENCODED), UNICODE)