code: def test_file_check():
      with pytest.raises(UserWarning):
          file_check(["requirements.txt"])
  
      with pytest.raises(UserWarning):
          file_check([])
  
file_path: chitra/tests/cli/test_builder.py
imports: from unittest.mock import MagicMock, patch
  import pytest
  import typer
  from typer.testing import CliRunner
  from chitra.cli import builder
  from chitra.cli.builder import file_check
label_desc: Use image node_id 2 for calling a global function with example usage: test_file_check() without return types