Skip to content

Commit

Permalink
tests for emoji.decode() removed. #10
Browse files Browse the repository at this point in the history
  • Loading branch information
carpedm20 committed May 17, 2015
1 parent df031be commit db53363
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ def test_emojize_invalid_emoji():
assert emoji.emojize(string, False) == string


def test_decode():
# No aliases
for name, u_code in emoji.EMOJI_UNICODE.items():
assert emoji.decode(u_code, use_aliases=False) == name


def test_decode_invalid_string():
with assert_raises(ValueError):
emoji.decode('__---___--Invalid__--__-Name')


def test_alias():
# When use_aliases=False aliases should be passed through untouched
assert emoji.emojize(':camel:', use_aliases=False) == ':camel:'
Expand Down

0 comments on commit db53363

Please sign in to comment.