code: def test_metrics_show_dirty_working_dir(metrics_repo, tmp_dir):
      train_metrics_file, test_metrics_file = metrics_repo
      new_metrics = {"acc": 1}
      (tmp_dir / train_metrics_file).unlink()
      (tmp_dir / train_metrics_file).dump(new_metrics)
      (tmp_dir / test_metrics_file).unlink()
      (tmp_dir / test_metrics_file).dump(new_metrics)
  
      assert api.metrics_show() == {
          f"{train_metrics_file}:acc": new_metrics["acc"],
          f"{test_metrics_file}:acc": new_metrics["acc"],
      }
  
imports: import json
  import os
  from textwrap import dedent
  from typing import Dict, List
  import pytest
  from dvc import api
label_desc: Use image node_id 19 for calling a global function with example usage: test_metrics_show_dirty_working_dir(metrics_repo, tmp_dir) without return types