fix linux tests...
This commit is contained in:
parent
1bfc164692
commit
d883d93566
|
@ -190,7 +190,7 @@ Larry
|
|||
[["content-type", "application/json"]],
|
||||
"[1, 2, 3]",
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert "Raw" in r[0]
|
||||
|
||||
|
@ -199,7 +199,7 @@ Larry
|
|||
[["content-type", "application/json"]],
|
||||
"[1, 2, 3]",
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert r[0] == "JSON"
|
||||
|
||||
|
@ -208,7 +208,7 @@ Larry
|
|||
[["content-type", "application/json"]],
|
||||
"[1, 2",
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert "Raw" in r[0]
|
||||
|
||||
|
@ -217,7 +217,7 @@ Larry
|
|||
[],
|
||||
"[1, 2",
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert "Raw" in r[0]
|
||||
|
||||
|
@ -230,7 +230,7 @@ Larry
|
|||
],
|
||||
encoding.encode('gzip', "[1, 2, 3]"),
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert "decoded gzip" in r[0]
|
||||
assert "JSON" in r[0]
|
||||
|
@ -243,7 +243,7 @@ Larry
|
|||
],
|
||||
encoding.encode('gzip', "[1, 2, 3]"),
|
||||
1000,
|
||||
lambda x: None
|
||||
lambda x, l: None
|
||||
)
|
||||
assert "decoded gzip" in r[0]
|
||||
assert "Raw" in r[0]
|
||||
|
|
Loading…
Reference in New Issue