コード例 #1
0
ファイル: test_book.py プロジェクト: czy1996/holder-manage-be
def test_inc_one():
    b = Book.find_by_title('油层物理')
    b.increase_one()
コード例 #2
0
ファイル: test_book.py プロジェクト: czy1996/holder-manage-be
def test_inc():
    b = Book.find_by_title('渗流力学')
    b.increase(10)
コード例 #3
0
ファイル: test_book.py プロジェクト: czy1996/holder-manage-be
def test_dec():
    b = Book.find_by_title('油层物理')
    b.decrease(1)
コード例 #4
0
ファイル: test_book.py プロジェクト: czy1996/holder-manage-be
def test_dec_one():
    b = Book.find_by_title('油层物理')
    b.decrease_one()