Example #1
0
def test_format_limit():
    """_format_lmit should correctly format the limit clause
    """
    q = Query().limit(1000)
    assert q._format_limit() == 'LIMIT 1000'
Example #2
0
def test_format_limit():
    """_format_lmit should correctly format the limit clause
    """
    q = Query().limit(1000)
    assert q._format_limit() == 'LIMIT 1000'