Пример #1
0
def test_getConcData_val3():
    assert sapi.getConcData(dp1=d1, dp2=d2, start=t1, end=t2).empty == False
Пример #2
0
def test_getConcData_val1():
    assert sapi.getConcData(dp1=d1, dp2=d2, dates=t1).empty == False
Пример #3
0
def test_getConcData_val2():
    assert sapi.getConcData(dp1=d1, dp2=d2, dates=tr) != []
Пример #4
0
def test_getConcData_imm2():
    assert sapi.getConcData(dates=tr_i) == []
Пример #5
0
def test_getConcData_imm3():
    assert sapi.getConcData(start=t1_i, end=t2_i).empty == True
Пример #6
0
def testgetConcData_err7():
    with pytest.raises(Exception):
        sapi.getConcData(dates=t1, dp1=d1_err, dp2=d2_err)
Пример #7
0
def test_getConcData_imm1():
    assert sapi.getConcData(dates=t1_i).empty == True
Пример #8
0
def test_getConcData_err6():
    with pytest.raises(Exception):
        sapi.getConcData(start=t1, end=b)
Пример #9
0
def test_getConcData_err5():
    with pytest.raises(Exception):
        sapi.getConcData(start=b, end=t2)
Пример #10
0
def test_getConcData_err4():
    with pytest.raises(Exception):
        sapi.getConcData(dates=b_list)
Пример #11
0
def test_getConcData_err2():
    with pytest.raises(Exception):
        sapi.getConcData(station=b)
Пример #12
0
def test_getConcData_err1():
    with pytest.raises(Exception):
        sapi.getConcData()