def setUp(self): # simulate getting a JSON response from a search query mock_json(path="seriesbr.ibge.get_json", json=get_sample_json("ibge_metadata.json")).start() # simulate getting a JSON response from a metadata query mock_json( path="seriesbr.helpers.metadata.get_json", json=get_sample_json("ibge_metadata.json"), ).start()
def setUp(self): mock_json(path="seriesbr.ibge.get_json", json=get_sample_json("ibge_search_results.json")).start()
def setUp(self): mock_json( path="seriesbr.helpers.metadata.get_json", json=get_sample_json("bcb_metadata.json"), ).start()
def setUp(self): mock_json(path="seriesbr.ibge.get_json", json=get_sample_json("ibge_variables.json")).start()
def setUp(self): mock_json( path="seriesbr.helpers.searching.get_json", json=get_sample_json("ipea_search_results.json"), ).start()