Closed rahulbot closed 6 months ago
FYI: I haven't been able to get the API client tests, in mediacloud-news-client, running against this locally. Perhaps some kind of configuration I have wrong? However it looks like that repo's automated test checks out main from here and runs the tests against the fixtures so I'll merge and re-open if those tests fail in a way that requires work here.
(integration tests over on mediacloud-news-client all passed)
Based on https://github.com/mediacloud/story-indexer/issues/186, we will soon be importing stories that have
None
as the publication_date value. This change adds some stories like that to the test fixtures, and verifies that they can be searched (by content).This also changes all results so that
None
is returned for any field that doesn't have a value, instead of the string "[UKNOWN]" (which seems pretty hard to use as an API client). I don't see this string used anywhere in the API client, so I feel comfortable changing this default to something that I think makes more sense.