def METHOD_NAME(self):
    # see also test_root_location_id_supplied
    location = SQLLocation.objects.get(domain=self.domain, name='Suffolk')
    location.is_archived = True
    location.save()
    exporter = LocationExporter(
        self.domain,
        is_archived=False,
        root_location_ids=[location.location_id],
    )
    self.assertEqual(exporter.base_query.count(), 1)
    self.assertEqual(exporter.base_query[0].name, 'Boston')
    # Reset to previous state
    location.is_archived = False
    location.save()