text: from decimal import Decimal
  
  from test.network.network_test_case import CypherpunkpayNetworkTestCase
  from cypherpunkpay.prices.messari_coin_price_source import MessariCoinPriceSource
  
  
  class MessariCoinPriceSourceTest(CypherpunkpayNetworkTestCase):
  
      def test_get(self):
          source = MessariCoinPriceSource(self.tor_http_client)
  
          price = source.get('btc', 'usd')
          self.assertTrue(isinstance(price, Decimal))
          self.assertTrue(1_000 < price < 100_000)
  
          price = source.get('xmr', 'usd')
          self.assertTrue(isinstance(price, Decimal))
          self.assertTrue(10 < price < 1000)
  