Skip to content

Commit 66d4235

Browse files
committed
Update the rate-limiting example test
1 parent 1cd7c05 commit 66d4235

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/rate_limiting_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class MyTestClass(BaseCase):
66

7-
@decorators.rate_limited(4)
7+
@decorators.rate_limited(4) # The arg is max calls per second
88
def print_item(self, item):
99
print item
1010

examples/run_rate_limiting_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nosetests decorator_test.py -s
1+
nosetests rate_limiting_test.py -s

0 commit comments

Comments
 (0)