def METHOD_NAME(self):
    start = datetime.utcnow()
    ds1 = self._create_datasource()
    middle = datetime.utcnow()
    ds2 = self._create_datasource()
    end = datetime.utcnow()
    self.assertEqual(
        [ds1.get_id, ds2.get_id],
        [ds.get_id for ds in get_registry_data_sources_modified_since(start)]
    )
    self.assertEqual(
        [ds2.get_id],
        [ds.get_id for ds in get_registry_data_sources_modified_since(middle)]
    )
    self.assertEqual([], get_registry_data_sources_modified_since(end))
    ds1.is_deactivated = True  # results should include deactivated data sources
    ds1.save()
    self.assertEqual(
        [ds1.get_id],
        [ds.get_id for ds in get_registry_data_sources_modified_since(end)]
    )