def test_getData_err6():
    with pytest.raises(Exception):
        sapi.getData(var, start=b, end=t2)
def test_getData_err7():
    with pytest.raises(Exception):
        sapi.getData(var, start=t1, end=b)
def test_getData_err3():
    with pytest.raises(Exception):
        sapi.getData(b_list, dates=t1)
def test_getData_err5():
    with pytest.raises(Exception):
        sapi.getData(var, dates=b_list)
def test_getData_val4():
    assert sapi.getData(var_list, dates=t1).empty == False
def test_getData_err1():
    with pytest.raises(Exception):
        sapi.getData(var)
def test_getData_val2():
    assert sapi.getData(var, dates=tr) != []
def test_getData_val3():
    assert sapi.getData(var, start=t1, end=t2).empty == False
def test_getData_val1():
    assert sapi.getData(var, dates=t1).empty == False
Esempio n. 10
0
def test_getData_imm5():
    assert sapi.getData(var, start=t1_i, end=t2_i).empty == True
Esempio n. 11
0
def test_getData_imm4():
    assert sapi.getData(var_list_i, dates=t1).empty == True
Esempio n. 12
0
def test_getData_imm2():
    assert sapi.getData(var, dates=tr_i) == []
Esempio n. 13
0
def test_getData_imm1():
    assert sapi.getData(var, dates=t1_i).empty == True