def test_margin_asset_without_asset():
    'Tests the API endpoint to margin asset without asset'
    client = Client(key, secret)
    client.margin_asset.when.called_with('').should.throw(ParameterRequiredError)
Tests the API endpoint to margin asset without asset
def test_margin_asset_without_asset():
    
    client = Client(key, secret)
    client.margin_asset.when.called_with().should.throw(ParameterRequiredError)