Example #1
0
def test_total():
    '''Testing total method'''
    where = 'subject=38 and session=10 and c_mor like "%1S%"'
    assert d.total(where, table='utterances') == 14
    t = Transcript(38, 10)
    assert t.total('c_mor like "%1S%"') == 14