Skip to content

Commit fdff4a6

Browse files
committed
allow params to be in either order in test
1 parent 04a94c0 commit fdff4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ def check_response(handler):
916916
length = int(handler.headers.get('content-length', 0))
917917
body = handler.rfile.read(length)
918918
assert six.ensure_str(handler.headers['content-type']) == 'application/x-www-form-urlencoded'
919-
assert six.ensure_str(body) == 'baz=baf&hep=cat'
919+
assert six.ensure_str(body) == 'baz=baf&hep=cat' or six.ensure_str(body) == 'hep=cat&baz=baf'
920920

921921
with MockServer(POST=check_response):
922922
ctx = binding.connect(port=9093, scheme='http', token="waffle")

0 commit comments

Comments
 (0)