def test_validate_query_string_and_none_queries(self):
        """Test that string and None queries are returned unchanged for all search methods."""
        test_cases = [
            ("string", self.valid_string_query),
            ("none", None)
        ]

        for query_type, query_value in test_cases:
            for search_method in [SearchMethod.TENSOR, SearchMethod.LEXICAL, SearchMethod.HYBRID]:
                with self.subTest(query_type=query_type, search_method=search_method):
                    result = validation.validate_query(query_value, search_method)
                    if query_value is None:
                        self.assertIsNone(result)
                    else:
                        self.assertEqual(result, query_value)
Test that string and None queries are returned unchanged for all search methods.
tests/unit_tests/marqo/tensor_search/test_validation.py