class_docstr: Unit tests for the CodeManager class
class_docstr_tok: ["Unit","tests","for","the","CodeManager","class"]
code: def test_check_is_query_using_relevant_table_invalid_query(
      self, code_manager: CodeManager
  ):
      mock_node = ast.parse(
          "sql_query = 'SELECT * FROM your_table'"
      ).body[0]
  
      irrelevant_tables = code_manager._get_sql_irrelevant_tables(
          mock_node
      )
  
      assert len(irrelevant_tables) > 0
  
imports: import ast
  from typing import Optional
  from unittest.mock import MagicMock, Mock, patch
  import uuid
  import pandas
  import pytest
  from pandasai.connectors.base import SQLConnectorConfig
  from pandasai.connectors.sql import PostgreSQLConnector, SQLConnector
  from pandasai.exceptions import BadImportError, MaliciousQueryError, NoCodeFoundError
  from pandasai.helpers.skills_manager import SkillsManager
  from pandasai.llm.fake import FakeLLM
  from pandasai.exceptions import InvalidConfigError
  from pandasai.smart_dataframe import SmartDataframe
  from pandasai.helpers.code_manager import CodeExecutionContext, CodeManager
label_desc: Use image node_id 27 for calling the TestCodeManager obj's underlying member method code with example usage: obj.test_check_is_query_using_relevant_table_invalid_query(code_manager) without return types