code: def test__credential_string_to_basic_auth_params(
      credential_string: str,
      expected_parsed: Dict[str, str],
      exception_message: str,
  ):
      if expected_parsed is not None:
          assert (
              _credential_string_to_basic_auth_params(credential_string)
              == expected_parsed
          )
      else:
          with pytest.raises(ValueError) as exception:
              _credential_string_to_basic_auth_params(credential_string)
          assert exception_message == str(exception.value)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test__credential_string_to_basic_auth_params(credential_string, expected_parsed, exception_message) without return types