def METHOD_NAME(self):
    AccessLog.objects.all().delete()
    response = self.login(is_valid_username=True, is_valid_password=True)
    response = self.client.get(reverse("admin:logout"))
    self.assertEqual(AccessLog.objects.all().count(), 0)
    self.assertContains(response, "Logged out", html=True)