code: def test_dmi():
      """test TA.DMI"""
  
      dmp = TA.DMI(ohlc, 14, True)["DI+"]
      talib_dmp = talib.PLUS_DI(
          ohlc["high"], ohlc["low"], ohlc["close"], timeperiod=14
      )
  
      # assert talib_dmp[-1] == dmp.values[-1]
      # assert 25.399441371241316 == 22.867910021116124
      pass  #  close enough
  
      dmn = TA.DMI(ohlc, 14, True)["DI-"]
      talib_dmn = talib.MINUS_DI(
          ohlc["high"], ohlc["low"], ohlc["close"], timeperiod=14
      )
  
      # assert talib_dmn[-1] == dmn.values[-1]
      # assert 20.123182007302802 == 19.249274328040045
      pass
  
imports: import pytest
  import os
  import pandas
  from finta import TA
  import talib
label_desc: Use image node_id 18 for calling a global function with example usage: test_dmi() without return types