code: def test_compression(filter_name, level):
      archive._make_dirs("compression")
  
      with open("compression/one.txt", "w") as f:
          f.write("one")
  
      tar_path = yatest.common.output_path("compression.tar")
      archive.tar(
          "compression",
          tar_path,
          compression_filter=filter_name,
          compression_level=level,
      )
  
      extract_tar(tar_path, "out")
      assert list_files("out") == ["compression/one.txt"]
  
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 14 for calling a global function with example usage: test_compression(filter_name, level) without return types