def METHOD_NAME(self):
    response = self.client.get(reverse('directoryentry-list'), format='json')
    # The diffs for the dict in this test can be quite large
    self.maxDiff = 1500
    self.assertEqual(dict(response.data[0]['latest_scan']), {
        'live': True,
        'landing_page_url': self.entry.landing_page_url,
        'result_last_seen': self.scan_pass.result_last_seen.strftime('%Y-%m-%dT%H:%M:%S.%fZ'),
        'forces_https': True,
        'hsts': True,
        'hsts_max_age': True,
        'hsts_entire_domain': True,
        'hsts_preloaded': True,
        'http_status_200_ok': True,
        'no_cross_domain_redirects': True,
        'no_cross_domain_assets': True,
        'expected_encoding': True,
        'no_server_info': True,
        'no_server_version': True,
        'csp_origin_only': True,
        'mime_sniffing_blocked': True,
        'noopen_download': True,
        'xss_protection': True,
        'clickjacking_protection': True,
        'good_cross_domain_policy': True,
        'http_1_0_caching_disabled': True,
        'cache_control_set': True,
        'cache_control_revalidate_set': True,
        'cache_control_nocache_set': True,
        'cache_control_notransform_set': True,
        'cache_control_nostore_set': True,
        'cache_control_private_set': True,
        'expires_set': True,
        'referrer_policy_set_to_no_referrer': True,
        'safe_onion_address': True,
        'no_cdn': True,
        'no_analytics': True,
        'subdomain': False,
        'no_cookies': True,
        'http2': True,
        'redirect_target': None,
        'grade': 'A',
    })