def METHOD_NAME(function_scope_binance):
    """Test that trades from binance US have the right location.
    Regression test for https://github.com/rotki/rotki/issues/2837
    """
    binance = function_scope_binance
    def mock_my_trades(url, **kwargs):  # pylint: disable=unused-argument
        if 'symbol=BNBBTC' in url:
            text = BINANCE_MYTRADES_RESPONSE
        else:
            text = '[]'
        return MockResponse(200, text)
    with patch.object(binance.session, 'get', side_effect=mock_my_trades):
        trades = binance.query_trade_history(start_ts=0, end_ts=1564301134, only_cache=False)
    expected_trade = Trade(
        timestamp=1499865549,
        location=Location.BINANCEUS,
        base_asset=A_BNB,
        quote_asset=A_BTC,
        trade_type=TradeType.BUY,
        amount=FVal('12'),
        rate=FVal('4.00000100'),
        fee=FVal('10.10000000'),
        fee_currency=A_BNB,
        link='28457',
    )
    assert len(trades) == 1
    assert trades[0] == expected_trade