Skip to content
Snippets Groups Projects
Commit 3606f0dd authored by roadscape's avatar roadscape
Browse files

add mention test case

parent 4b8b9d68
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,7 @@ def test_mentions(): ...@@ -150,6 +150,7 @@ def test_mentions():
assert m('@longestokaccount') == {'longestokaccount'} assert m('@longestokaccount') == {'longestokaccount'}
assert not m('@longestokaccountx') assert not m('@longestokaccountx')
assert m('@abc- @-foo @bar.') == {'abc', 'bar'} assert m('@abc- @-foo @bar.') == {'abc', 'bar'}
assert m('_[@foo](https://steemit.com/@foo)_') == {'foo'}
def test_post_basic(): def test_post_basic():
ret = post_basic(POST_1) ret = post_basic(POST_1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment