'Mock the user service and runtime.'

def setUp(self):

    super(TestGetDjangoUser, self).setUp()
    self.django_user = object()
    self.user_service = mock.Mock()
    self.add_patcher(mock.patch.object(self.runtime, 'service', return_value=self.user_service))
    self.user_service._django_user = self.django_user
