agnes-the-ai-analyst/tests
ZdenekSrotyr 1b3acce7e9 fix: replace substring table access check with word-boundary regex
Replace substring matching with word-boundary regex in query endpoint's
table access validation. Prevents false positives where short table names
like 'id' would block any query containing the word. Uses re.escape() to
safely handle special characters in table names.

- Import re module at top
- Use regex pattern with word boundaries (\b) for matching
- Add tests to verify no false positives and proper blocking
2026-04-09 07:00:48 +02:00
..
__init__.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
conftest.py feat: add E2E test suite — API, extractor, Docker 2026-03-31 08:18:54 +02:00
test_access_control.py refactor: remove legacy webapp + add missing tests + housekeeping 2026-03-31 13:44:06 +02:00
test_api.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
test_api_complete.py feat: complete system — web UI, all API endpoints, governance, admin, CLI commands 2026-03-27 16:52:22 +01:00
test_api_scripts.py security: harden query (read-only DB), uploads (path sanitization), scripts (AST validation) 2026-04-08 12:09:19 +02:00
test_auth_providers.py fix: require password verification when user has password_hash in /auth/token 2026-04-09 06:44:31 +02:00
test_auto_profiling.py Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
test_bigquery_extractor.py feat: add _remote_attach to BigQuery extractor, support token-less ATTACH in orchestrator 2026-04-08 18:13:31 +02:00
test_bootstrap.py feat: add bootstrap endpoint + deploy skill for AI agents 2026-03-30 14:01:01 +02:00
test_catalog_export.py refactor: delete old sync pipeline — 9,500 lines removed 2026-03-31 07:50:37 +02:00
test_cli.py refactor: remove legacy webapp + add missing tests + housekeeping 2026-03-31 13:44:06 +02:00
test_db.py fix: validate extract dir name in get_analytics_db_readonly to prevent SQL injection 2026-04-09 06:57:31 +02:00
test_duckdb_manager.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_e2e_api.py refactor: remove legacy webapp + add missing tests + housekeeping 2026-03-31 13:44:06 +02:00
test_e2e_docker.py feat: add E2E test suite — API, extractor, Docker 2026-03-31 08:18:54 +02:00
test_e2e_extract.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
test_generate_sample_data.py Add --format parquet using project's ParquetManager 2026-03-10 21:46:20 +01:00
test_jira_webhooks.py feat: Jira webhook FastAPI adapter — replaces Flask Blueprint 2026-04-08 07:04:50 +02:00
test_keboola_extractor.py feat: generic _remote_attach contract for remote DuckDB extension views 2026-04-08 18:10:12 +02:00
test_llm_connector.py Add modular LLM connector for Corporate Memory 2026-03-23 12:08:33 +01:00
test_migration.py feat: add JSON to DuckDB migration script with tests 2026-03-27 15:09:06 +01:00
test_openmetadata_client.py Implement OpenMetadata catalog integration (Phase 1) 2026-03-12 14:07:13 +01:00
test_openmetadata_enricher.py refactor: delete old sync pipeline — 9,500 lines removed 2026-03-31 07:50:37 +02:00
test_openmetadata_transformer.py Filter catalog metrics by configurable tag (e.g., AIAgent.FoundryAI) 2026-03-16 22:03:53 +01:00
test_orchestrator.py fix: handle WAL files in atomic swap to prevent DB corruption 2026-04-09 06:57:29 +02:00
test_permissions.py feat: add dataset permissions, script execution, Kamal config, CI/CD 2026-03-27 15:40:11 +01:00
test_profiler.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_rbac.py feat: add centralized RBAC module — replace Linux group auth 2026-03-31 08:04:35 +02:00
test_repositories.py feat: implement extract.duckdb contract — orchestrator + extractors 2026-03-30 20:12:56 +02:00
test_scheduler.py Support multiple daily sync times (e.g., "daily 07:00,13:00,18:00") 2026-03-16 23:09:48 +01:00
test_security.py fix: replace substring table access check with word-boundary regex 2026-04-09 07:00:48 +02:00