code: def test_dhus_version(dhus_url, version):
      api = SentinelAPI("mock_user", "mock_password", api_url=dhus_url)
      request_url = dhus_url + "/api/stub/version"
      with requests_mock.mock() as rqst:
          rqst.get(request_url, json={"value": version})
          assert api.dhus_version == version
  
imports: import os
  import shutil
  import py.path
  import pytest
  import requests_mock
  from flaky import flaky
  from sentinelsat import SentinelAPI, make_path_filter
  from sentinelsat.exceptions import InvalidChecksumError, InvalidKeyError, LTAError, ServerError
label_desc: Use image node_id 2 for calling a global function with example usage: test_dhus_version(dhus_url, version) without return types