def METHOD_NAME(self):
    eq_(
        logviewer.prepare_where('SELECT * FROM tb', {'col1>': ['10']}, ['col1']),
        'WHERE "col1" > "10"',
    )
    eq_(
        logviewer.prepare_where(
            'SELECT * FROM tb WHERE col2 > 1', {'col1>': ['10']}, ['col1']
        ),
        'AND "col1" > "10"',
    )
    eq_(logviewer.prepare_where('', {'col1>': ['10']}, ['col1']), 'WHERE "col1" > "10"')