[{'Text': '"""Tests for GBS tools (gbs_get_status, gbs_add_statistic, gbs_create_source).\n\nThese mock mongodb_utils to test validation, formatting, and error paths\nwithout requiring a real MongoDB connection.\n"""\n\nimport json\nfrom unittest.mock import patch\n\nimport pytest\n\nfrom bson import ObjectId\n\n\n@pytest.fixture\ndef gbs_env():\n    """Ensure PT_RESEARCH_DATABASE_URI looks set so tools register."""\n    with patch.dict("os.environ", {"PT_RESEARCH_DATABASE_URI": "mongodb://localhost:27017/t"}, clear=False):\n        # Reload gbs_tools to trigger conditional import\n        import importlib\n'}]