def test_fail_buy_stocks_from_invalid_quantity_type(): with pytest.raises(TypeError): GOOGLE.user_buys_stocks(None)
def test_fail_buy_stocks_from_non_int_quantity_type(): with pytest.raises(TypeError): GOOGLE.user_buys_stocks("24.444")
def test_fail_sell_stocks_from_raw_int_quantity_type(): with pytest.raises(TypeError): GOOGLE.user_buys_stocks(25)