Skip to content

Commit 1dd9f4a

Browse files
committed
Remove test case for add_query
1 parent cf65a7c commit 1dd9f4a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/test_client.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from flask import Flask
22
from nose.tools import raises
3-
from flask_oauthlib.client import encode_request_data, add_query
3+
from flask_oauthlib.client import encode_request_data
44
from flask_oauthlib.client import OAuthRemoteApp, OAuth
55
from flask_oauthlib.client import parse_response
66

@@ -48,12 +48,6 @@ def test_encode_request_data():
4848
assert f == 'application/x-www-form-urlencoded'
4949

5050

51-
def test_add_query():
52-
assert 'path' == add_query('path', None)
53-
assert 'path?foo=foo' == add_query('path', {'foo': 'foo'})
54-
assert '?path&foo=foo' == add_query('?path', {'foo': 'foo'})
55-
56-
5751
def test_app():
5852
app = Flask(__name__)
5953
create_client(app)

0 commit comments

Comments
 (0)