code: def test_returned_filesize(run_cli, geojson_path):
      result = run_cli(
          "--geometry",
          geojson_path,
          "-s",
          "20141205",
          "-e",
          "20141208",
          "-q",
          "producttype=GRD",
      )
      expected = "1 scenes found with a total size of 0.50 GB"
      assert result.output.split("\n")[-2] == expected
  
      result = run_cli(
          "--geometry",
          geojson_path,
          "-s",
          "20170101",
          "-e",
          "20170105",
          "-q",
          "producttype=GRD",
      )
      expected = "18 scenes found with a total size of 27.81 GB"
      assert result.output.split("\n")[-2] == expected
  
imports: import json
  import os
  import re
  import glob
  import shutil
  from contextlib import contextmanager
  from functools import partialmethod
  import pytest
  import requests_mock
  from click.testing import CliRunner
  from sentinelsat import SentinelAPI, InvalidChecksumError
  from sentinelsat.scripts.cli import cli
label_desc: Use image node_id 11 for calling a global function with example usage: test_returned_filesize(run_cli, geojson_path) without return types