Exemplo n.º 1
0
def test_inc_one():
    b = Book.find_by_title('油层物理')
    b.increase_one()
Exemplo n.º 2
0
def test_inc():
    b = Book.find_by_title('渗流力学')
    b.increase(10)
Exemplo n.º 3
0
def test_dec():
    b = Book.find_by_title('油层物理')
    b.decrease(1)
Exemplo n.º 4
0
def test_dec_one():
    b = Book.find_by_title('油层物理')
    b.decrease_one()