code: def test_build_config_invalid_requirements():
      spec = BuildSpecTest(requirements=["./projects/requirements.txt"])
      assert spec.requirements == ["cloud-stars"]
      assert spec.build_commands() == ["pip install redis"]
  
imports: import logging
  import os
  import sys
  from unittest.mock import Mock
  from lightning.app.testing import LightningTestApp, application_testing
  from lightning.app.utilities.packaging.build_config import BuildConfig
  from tests_app import _TESTS_ROOT
label_desc: Use image node_id 3 for calling a global function with example usage: test_build_config_invalid_requirements() without return types