aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_unfurl.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-11-16 20:08:52 +0000
committerRyan Huber <rhuber@gmail.com>2015-11-16 20:08:52 +0000
commit512133c74a08865d07ae6b1b079ef5f43b42e164 (patch)
tree7b3cceb5b5be0ac722fb7a1cfec397e23b9a7978 /_pytest/test_unfurl.py
parent8cbc89202856d8bbf8359e81d2004384e24f467b (diff)
downloadwee-slack-512133c74a08865d07ae6b1b079ef5f43b42e164.tar.gz
unicode fixes, change variable names, better tests
Diffstat (limited to '_pytest/test_unfurl.py')
-rw-r--r--_pytest/test_unfurl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py
index 9af7cf2..c79c0f3 100644
--- a/_pytest/test_unfurl.py
+++ b/_pytest/test_unfurl.py
@@ -25,7 +25,7 @@ unfurl_map = [
"output": "url: https://example.com (example with spaces) suffix",
},
]
-
+
def test_unfurl_refs(myservers, mychannels, myusers):
slack.servers = myservers
@@ -34,7 +34,7 @@ def test_unfurl_refs(myservers, mychannels, myusers):
slack.message_cache = {}
slack.servers[0].users = myusers
print mychannels[0].identifier
-
+
for k in unfurl_map:
if "ignore_alt_text" in k:
assert slack.unfurl_refs(k["input"], ignore_alt_text=k["ignore_alt_text"]) == k["output"]