コード例 #1
0
def test_fail_sell_stocks_from_non_int_quantity_type():
    with pytest.raises(TypeError):
        GOOGLE.user_sells_stocks("25.99999")
コード例 #2
0
def test_fail_sell_stocks_from_invalid_quantity_type():
    with pytest.raises(TypeError):
        GOOGLE.user_sells_stocks(None)