def METHOD_NAME(self):
    archived_locations_count = SQLLocation.objects.filter(domain=self.domain, is_archived=True).count()
    exporter = LocationExporter(
        self.domain,
        is_archived=True,
    )
    self.assertEqual(exporter.base_query.count(), archived_locations_count)