code: def test_get_filter_name(comp_filter):
      archive._make_dirs("get_filter_name")
      tar_path = yatest.common.output_path("onerror_noretry.tar")
      archive.tar("get_filter_name", tar_path, comp_filter)
      assert archive.get_archive_filter_name(tar_path) == comp_filter
  
imports: import errno
  import hashlib
  import os
  import shutil
  import socket
  import tarfile
  import threading
  import six
  import pytest
  import yatest.common
  import library.python.archive
label_desc: Use image node_id 20 for calling a global function with example usage: test_get_filter_name(comp_filter) without return types