Skip to content

Commit 0010b09

Browse files
committed
Mark rate limit test with 'slow' attribute.
1 parent bb968da commit 0010b09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_unit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import unittest
1212

1313
from nose.tools import (eq_, ok_)
14+
from nose.plugins.attrib import attr
1415

1516
from github2.core import repr_string
1617
from github2.issues import Issue
@@ -45,6 +46,7 @@ class RateLimits(utils.HttpMockTestCase):
4546

4647
"""Test API rate-limitting."""
4748

49+
@attr('slow')
4850
def test_delays(self):
4951
"""Test call delay is at least one second."""
5052
client = Github(requests_per_second=.5)

0 commit comments

Comments
 (0)