Skip to content

Commit

Permalink
test_url_query: Add back assertion for url.query type
Browse files Browse the repository at this point in the history
  • Loading branch information
besfahbod committed Aug 13, 2018
1 parent c9a59a2 commit f128d31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_url_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from urllib.parse import urlencode

import pytest
from multidict import MultiDict
from multidict import MultiDict, MultiDictProxy

from yarl import URL

Expand Down Expand Up @@ -65,6 +65,7 @@
URLS_WITH_BASIC_QUERY_VALUES,
)
def test_query_basic_parsing(original_url, expected_query):
assert isinstance(original_url.query, MultiDictProxy)
assert original_url.query == expected_query


Expand Down

0 comments on commit f128d31

Please sign in to comment.