def METHOD_NAME(self):
    location = SQLLocation.objects.get(domain=self.domain, name='Suffolk')
    exporter = LocationExporter(
        self.domain,
        root_location_ids=[location.location_id],
        selected_location_only=True,
    )
    self.assertEqual(exporter.base_query.count(), 1)