class_docstr: Tests for loading data from external libraries.
class_docstr_tok: ["Tests","for","loading","data","from","external","libraries","."]
docstr: Test that correct basis set parameters are loaded for a given atom.
docstr_tok: ["Test","that","correct","basis","set","parameters","are","loaded","for","a","given","atom","."]
code: def test_load_basis_data(self, basis_name, atom_name, params_ref):
      """Test that correct basis set parameters are loaded for a given atom."""
  
      pytest.importorskip("basis_set_exchange")
  
      data = qchem.load_basisset(basis_name, atom_name)
  
      l_ref = [p[0] for p in params_ref]
      alpha_ref = [p[1] for p in params_ref]
      coeff_ref = [p[2] for p in params_ref]
  
      assert data["orbitals"] == l_ref
      assert data["exponents"] == alpha_ref
      assert data["coefficients"] == coeff_ref
  
file_path: pennylane/tests/qchem/test_basis_set.py
imports: import sys
  import pytest
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 1 for calling the TestLoadBasis obj's underlying member method code with example usage: obj.test_load_basis_data(basis_name, atom_name, params_ref) without return types