Skip to content

Commit b09cfd2

Browse files
1yamMHHukiewitz
authored andcommitted
Fix: Unit test wasn't fully mocked
1 parent 047a0b5 commit b09cfd2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/test_asynchronous.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ async def __aexit__(self, exc_type, exc_val, exc_tb):
3232
@property
3333
def status(self):
3434
return 200 if self.sync else 202
35+
36+
async def raise_for_status(self):
37+
...
3538

3639
async def json(self):
3740
message_status = "processed" if self.sync else "pending"

0 commit comments

Comments
 (0)