def METHOD_NAME(self):
    min_date = datetime.date(2017, 1, 1)
    max_date = datetime.date(2017, 12, 31)
    results = self._results(
        api.url_for(OperationsLogView, min_receipt_date=min_date)
    )
    self.assertTrue(
        all(
            each for each in results if each['receipt_date'] >= min_date.isoformat()
        )
    )
    results = self._results(
        api.url_for(OperationsLogView, max_receipt_date=max_date)
    )
    self.assertTrue(
        all(
            each for each in results if each['receipt_date'] <= max_date.isoformat()
        )
    )
    results = self._results(
        api.url_for(
            OperationsLogView, min_receipt_date=min_date, max_receipt_date=max_date
        )
    )
    self.assertTrue(
        all(
            each
            for each in results
            if min_date.isoformat() <= each['receipt_date'] <= max_date.isoformat()
        )
    )