Skip to content

Commit e05cb40

Browse files
MHHukiewitzhoh
authored andcommitted
fix mock session to raise status
1 parent 21c63ef commit e05cb40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/test_asynchronous_get.py

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ async def __aexit__(self, exc_type, exc_val, exc_tb):
2323
def status(self):
2424
return 200
2525

26+
def raise_for_status(self):
27+
...
28+
2629
async def json(self):
2730
return get_return_value
2831

0 commit comments

Comments
 (0)