class_docstr: Test data request different implementations
docstr: Test that we get a dictionary containing json data
          
docstr_tok: ["Test","that","we","get","a","dictionary","containing","json","data"]
code: def test_get_digital_currency_weekly(self):
      """Test that we get a dictionary containing json data"""
      cc = CryptoCurrencies(key=TestAlphaVantage._API_KEY_TEST)
      self._assert_result_is_format(
          cc.get_digital_currency_weekly,
          output_format="json",
          symbol="BTC",
          market="CNY",
      )
      # Test panda as output
      cc = CryptoCurrencies(
          key=TestAlphaVantage._API_KEY_TEST, output_format="pandas"
      )
      self._assert_result_is_format(
          cc.get_digital_currency_weekly,
          output_format="pandas",
          symbol="BTC",
          market="CNY",
      )
  
imports: from ..alpha_vantage.alphavantage import AlphaVantage
  from ..alpha_vantage.timeseries import TimeSeries
  from ..alpha_vantage.techindicators import TechIndicators
  from ..alpha_vantage.cryptocurrencies import CryptoCurrencies
  from ..alpha_vantage.foreignexchange import ForeignExchange
  from pandas import DataFrame
  import os
  import unittest
  import timeit
  import time
label_desc: Use image node_id 18 for calling the TestAlphaVantage obj's underlying member method code with example usage: obj.test_get_digital_currency_weekly() without return types