          response = view.as_view()(request)
          self.assertEqual(expect, response.status_code)
          
      def test_request_throttling_is_per_user(self):
          """Ensure request rate is only limited per user, not globally for PerUserTrottles"""
          self.ensure_is_throttled(MockView, 200)
          
      def test_request_throttling_is_per_view(self):
          """Ensure request rate is limited globally per View for PerViewThrottles"""
          self.ensure_is_throttled(MockView1, 503)
 
</s> remove 
    def test_raises_no_resource_found(self):
        """Ensure an Exception is raised when someone sets at per-resource throttle
        on a view with no resource set."""
        request = self.factory.get('/')
        view = MockView2.as_view()
        self.assertRaises(ConfigurationException, view, request)
        
 </s> add  </s> remove         time.sleep(1)
 </s> add         # Advance the timer by one second
        MockView.permissions[0].timer = lambda self: 1
 </s> remove     The user id will be used as a unique identifier if the user is authenticated.
    For anonymous requests, the IP address of the client will be used.
 </s> add     Limits the rate of API calls that may be made by a given user.

    The user id will be used as a unique identifier if the user is
    authenticated. For anonymous requests, the IP address of the client will
    be used. </s> remove     The class name of the cuurent resource will be used as a unique identifier.
    Raises :exc:`ConfigurationException` if no resource attribute is set on the view class.
 </s> add     Limits the rate of API calls that may be used against all views on
    a given resource.

    The class name of the resource is used as a unique identifier to
    throttle against. </s> remove     The class name of the cuurent view will be used as a unique identifier.
 </s> add     Limits the rate of API calls that may be used on a given view.

    The class name of the view is used as a unique identifier to
    throttle against.
        """Ensure request rate is only limited per user, not globally for PerUserThrottles"""
          response = view.as_view()(request)
          self.assertEqual(expect, response.status_code)
          
      def test_request_throttling_is_per_user(self):
        """Ensure request rate is only limited per user, not globally for PerUserThrottles"""
          self.ensure_is_throttled(MockView, 200)
          
      def test_request_throttling_is_per_view(self):
          """Ensure request rate is limited globally per View for PerViewThrottles"""
          self.ensure_is_throttled(MockView1, 503)
keep keep keep keep replace keep keep keep keep keep
 Bits of cleaning up for the throttling 
djangorestframework/tests/throttling.py