Skip to content

Commit

Permalink
Merge branch 'leakage' of github.com:abhinavsingh/proxy.py into leakage
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed Nov 22, 2024
2 parents 0bd4938 + 076ffde commit 6af393b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/common/test_leakage.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def test_initial_consume_no_tokens(self) -> None:
rate = 100 # bytes per second
bucket = Leakage(rate)
self.assertEqual(
bucket.consume(150),
100,
bucket.consume(150), 100,
) # No tokens yet, so expect 0 bytes to be sent

def test_consume_with_refill(self) -> None:
Expand Down

0 comments on commit 6af393b

Please sign in to comment.