def test_all(self): from pyEX import Client c = Client("test") with patch("pyEX.common.urls._getIEXCloud"): c.brent() c.brentDF() c.diesel() c.dieselDF() c.gasmid() c.gasmidDF() c.gasprm() c.gasprmDF() c.gasreg() c.gasregDF() c.heatoil() c.heatoilDF() c.jet() c.jetDF() c.natgas() c.natgasDF() c.propane() c.propaneDF() c.wti() c.wtiDF()
def test_all(self): from pyEX import Client c = Client('test') with patch('pyEX.common._getJsonIEXCloud'): c.wti() c.brent() c.natgas() c.heatoil() c.jet() c.diesel() c.gasreg() c.gasmid() c.gasprm() c.propane()
def test_all(self): from pyEX import Client c = Client("test") with patch("pyEX.common._getJsonIEXCloud"), patch("pickle.dump"): c.wti() c.brent() c.natgas() c.heatoil() c.jet() c.diesel() c.gasreg() c.gasmid() c.gasprm() c.propane()