          self.assertTrue(self.client.login(username='another_testuser', password='test'), msg='Login failed')
          response = self.client.get('/')
          self.assertEqual(200, response.status_code)
          
      def test_request_throttling_expires(self):
          """Ensure request rate is limited for a limited duration only"""
          for dummy in range(3):
 
</s> remove         #Can not login user.....Dunno why...
 </s> add  </s> remove from djangorestframework.permissions import PerUserThrottling
 </s> add from djangorestframework.permissions import PerUserThrottling, PerResourceThrottling
 
    def test_request_throttling_is_per_resource(self):
        """Ensure request rate is limited globally per View"""
        for username in ('testuser', 'another_testuser'):
            user = User.objects.create(username=username)
            user.set_password('test')
            user.save()
        
        self.assertTrue(self.client.login(username='testuser', password='test'), msg='Login Failed')
        for dummy in range(3):
            response = self.client.get('/1')
        self.client.logout()
        self.assertTrue(self.client.login(username='another_testuser', password='test'), msg='Login failed')
        response = self.client.get('/1')
        self.assertEqual(503, response.status_code)
          self.assertTrue(self.client.login(username='another_testuser', password='test'), msg='Login failed')
          response = self.client.get('/')
          self.assertEqual(200, response.status_code)
 
    def test_request_throttling_is_per_resource(self):
        """Ensure request rate is limited globally per View"""
        for username in ('testuser', 'another_testuser'):
            user = User.objects.create(username=username)
            user.set_password('test')
            user.save()
        
        self.assertTrue(self.client.login(username='testuser', password='test'), msg='Login Failed')
        for dummy in range(3):
            response = self.client.get('/1')
        self.client.logout()
        self.assertTrue(self.client.login(username='another_testuser', password='test'), msg='Login failed')
        response = self.client.get('/1')
        self.assertEqual(503, response.status_code)
          
      def test_request_throttling_expires(self):
          """Ensure request rate is limited for a limited duration only"""
          for dummy in range(3):
keep keep add keep keep keep keep
 * fixed `test_request_throttling_is_per_user` - it didn't make a request for the 2nd user

* implemented per_resource_throttling  + test

needs refactoring 
djangorestframework/tests/throttling.py