Skip to content

Commit

Permalink
Fix: Unit test wasn't fully mocked
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam authored and MHHukiewitz committed Oct 25, 2023
1 parent 047a0b5 commit b09cfd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/test_asynchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ async def __aexit__(self, exc_type, exc_val, exc_tb):
@property
def status(self):
return 200 if self.sync else 202

async def raise_for_status(self):
...

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

0 comments on commit b09cfd2

Please sign in to comment.