Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 3c86ebe

Browse files
author
Moritz Pein
committed
werkzeug states get_data() should be used instead of the property
https://github.com/pallets/werkzeug/blob/master/werkzeug/wrappers.py#L462
1 parent be7d9a1 commit 3c86ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def add_empty_response(self):
4646

4747
@property
4848
def json_queries(self):
49-
return [json.loads(q.data) for q in self.queries]
49+
return [json.loads(q.get_data()) for q in self.queries]
5050

5151

5252
@pytest.fixture

0 commit comments

Comments
 (0)