code: def test_quote_symbol_bug(api):
      # A test to check if plus symbol handling works correctly on the server side
      # It used to raise an error but has since been fixed
      # https://github.com/SentinelDataHub/DataHubSystem/issues/23
  
      q = "beginposition:[2017-05-30T00:00:00Z TO 2017-05-31T00:00:00Z+1DAY]"
      count = api.count(raw=q)
      assert count > 0
  
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 20 for calling a global function with example usage: test_quote_symbol_bug(api) without return types