コード例 #1
0
def test_delete():
    from palladium.fit import delete

    persister = Mock()
    delete(persister, 2)
    persister.delete.assert_called_with(2)
コード例 #2
0
ファイル: test_fit.py プロジェクト: KayneWest/palladium
def test_delete():
    from palladium.fit import delete

    persister = Mock()
    delete(persister, 2)
    persister.delete.assert_called_with(2)