code: def test_date_arithmetic(api):
      products = api.query(
          "ENVELOPE(0, 1, 1, 0)",
          (
              "2016-12-01T00:00:00Z-1DAY",
              "2016-12-01T00:00:00Z+1DAY-1HOUR",
          ),
      )
      assert api._last_response.status_code == 200
      assert 0 < len(products) < 30
  
imports: from contextlib import contextmanager
  from datetime import datetime, date, timedelta
  import pytest
  import requests_mock
  from requests.exceptions import StreamConsumedError, ContentDecodingError, InvalidProxyURL, InvalidHeader, TooManyRedirects, ReadTimeout, SSLError
  from sentinelsat import format_query_date, SentinelAPI
  from sentinelsat.exceptions import QuerySyntaxError, QueryLengthError, UnauthorizedError
  from sentinelsat.sentinel import _format_order_by
label_desc: Use image node_id 19 for calling a global function with example usage: test_date_arithmetic(api) without return types