Skip to content

Commit 6af393b

Browse files
committed
Merge branch 'leakage' of github.com:abhinavsingh/proxy.py into leakage
2 parents 0bd4938 + 076ffde commit 6af393b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/common/test_leakage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ def test_initial_consume_no_tokens(self) -> None:
2222
rate = 100 # bytes per second
2323
bucket = Leakage(rate)
2424
self.assertEqual(
25-
bucket.consume(150),
26-
100,
25+
bucket.consume(150), 100,
2726
) # No tokens yet, so expect 0 bytes to be sent
2827

2928
def test_consume_with_refill(self) -> None:

0 commit comments

Comments
 (0)