Support /status URLs
This commit is contained in:
@ -169,4 +169,8 @@ def test_embed_poll():
|
||||
def test_embed_stripLastUrl():
|
||||
resp = client.get(testMediaTweet.replace("https://twitter.com",""),headers={"User-Agent":"test"})
|
||||
assert resp.status_code==200
|
||||
assert "HgLAbiXw2E" not in str(resp.data)
|
||||
assert "HgLAbiXw2E" not in str(resp.data)
|
||||
|
||||
def test_embed_no_username():
|
||||
resp = client.get(testMediaTweet.replace("/pdxdylan",""),headers={"User-Agent":"test"})
|
||||
assert resp.status_code==200
|
Reference in New Issue
Block a user