def METHOD_NAME(self):
    # headers with valid user/pass
    digest_client = self._get_authenticated_client(
        self.api_url, 'bob', 'bob'
    )
    response = digest_client.get(self.api_url)
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    # Activate MFA
    self.user.profile.is_mfa_active = True
    self.user.profile.save()
    digest_client = self._get_authenticated_client(
        self.api_url, 'bob', 'bob'
    )
    response = digest_client.get(self.api_url)
    self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)