aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_oauth1.py
diff options
context:
space:
mode:
authorJessica Tallon <jessica@megworld.co.uk>2014-10-02 20:28:58 +0100
committerJessica Tallon <jessica@megworld.co.uk>2014-10-02 20:34:25 +0100
commit670cdef79c39262fa0844a91777b8c69751bab01 (patch)
treed9c34460b5aa4034a0f2e537a03d1e0c999b744b /mediagoblin/tests/test_oauth1.py
parentab46e89a65d69cadd45a568ff89d8157f2ea8512 (diff)
downloadmediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.tar.lz
mediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.tar.xz
mediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.zip
Fix typo in client registration API for logo_uri
Diffstat (limited to 'mediagoblin/tests/test_oauth1.py')
-rw-r--r--mediagoblin/tests/test_oauth1.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediagoblin/tests/test_oauth1.py b/mediagoblin/tests/test_oauth1.py
index 9a5e332b..e41a68c7 100644
--- a/mediagoblin/tests/test_oauth1.py
+++ b/mediagoblin/tests/test_oauth1.py
@@ -72,7 +72,7 @@ class TestOAuth(object):
"application_name": "Testificate MD",
"application_type": "web",
"contacts": "someone@someplace.com tuteo@tsengeo.lu",
- "logo_url": "http://ayrel.com/utral.png",
+ "logo_uri": "http://ayrel.com/utral.png",
"redirect_uris": "http://navi-kosman.lu http://gmg-yawne-oeru.lu",
}
@@ -85,7 +85,7 @@ class TestOAuth(object):
assert client.secret == client_info["client_secret"]
assert client.application_type == query["application_type"]
assert client.redirect_uri == query["redirect_uris"].split()
- assert client.logo_url == query["logo_url"]
+ assert client.logo_url == query["logo_uri"]
assert client.contacts == query["contacts"].split()
@@ -102,7 +102,7 @@ class TestOAuth(object):
"type": "client_update",
"application_name": "neytiri",
"contacts": "someone@someplace.com abc@cba.com",
- "logo_url": "http://place.com/picture.png",
+ "logo_uri": "http://place.com/picture.png",
"application_type": "web",
"redirect_uris": "http://blah.gmg/whatever https://inboxen.org/",
}
@@ -117,7 +117,7 @@ class TestOAuth(object):
assert client.application_type == update_query["application_type"]
assert client.application_name == update_query["application_name"]
assert client.contacts == update_query["contacts"].split()
- assert client.logo_url == update_query["logo_url"]
+ assert client.logo_url == update_query["logo_uri"]
assert client.redirect_uri == update_query["redirect_uris"].split()
def to_authorize_headers(self, data):