Skip to content

Commit

Permalink
Update test_url_query.py
Browse files Browse the repository at this point in the history
  • Loading branch information
behnam authored and besfahbod committed Aug 13, 2018
1 parent 1f23495 commit 403f5c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_url_query.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from multidict import MultiDict, MultiDictProxy
from multidict import MultiDict
from urllib.parse import urlencode

from yarl import URL
Expand Down Expand Up @@ -74,6 +74,7 @@ def test_query_basic_update_query(original_url, expected_query):
new_url = original_url.update_query({})
# FIXME: `?a` becomes `?a=` right now. Maybe support `None` values?
# assert new_url == original_url
assert new_url is not None


def test_query_dont_unqoute_twice():
Expand Down Expand Up @@ -149,7 +150,7 @@ def test_query_separators_from_with_query(
'original_url, expected_query_len, expected_value_a',
URLS_WITH_RESERVED_CHARS_IN_QUERY_VALUES,
)
def test_query_separators_from_with_query(
def test_query_from_empty_update_query(
original_url,
expected_query_len,
expected_value_a,
Expand Down

0 comments on commit 403f5c6

Please sign in to comment.