code: def test_balances(portfolio_locked):
      balances = [9850 * USD, 0.25 * BTC, 3 * ETH, 4738 * XRP]
      assert portfolio_locked.balances == balances
  
imports: import pytest
  import unittest.mock
  from tensortrade.core.base import Clock
  from tensortrade.oms.wallets import Wallet, Portfolio
  from tensortrade.oms.instruments import USD, BTC, ETH, XRP, BCH
label_desc: Use image node_id 14 for calling a global function with example usage: test_balances(portfolio_locked) without return types