'Test that throttle works when wrapping two methods.'

def test_throttle_on_two_method(self):

    class Tester(object, ):
        'A    test    class    for    the    throttle.'
        @util.Throttle(timedelta(seconds=1))
        def hello(self):
            'Test    the    throttle.'
            return True
        @util.Throttle(timedelta(seconds=1))
        def goodbye(self):
            'Test    the    throttle.'
            return True
    tester = Tester()
    self.assertTrue(tester.hello())
    self.assertTrue(tester.goodbye())
