[{'Text': '    op_id_b = ObjectId()\n    mock_docs = [\n        {"_id": {"$oid": str(op_id_a)}, "name": "Alpha", "techs": ["FTTP"], "statCount": 5, "stats": [{"state": 3}] * 5},\n        {"_id": {"$oid": str(op_id_b)}, "name": "Beta", "techs": ["DSL"], "statCount": 0, "stats": []},\n    ]\n    mock_return = json.dumps({"currentPeriod": "2025Q1", "targetPeriod": "2025Q1", "docs": mock_docs})\n\n    with patch("point_topic_mcp.core.mongodb_utils._run_mongosh", return_value=mock_return):\n        result = gbs.gbs_get_status(country="UK")\n        assert "GBS STATUS: UK" in result\n        assert "period 2025Q1" in result\n        assert "2 total" in result\n        assert "1 with data" in result\n        assert "1 without data" in result\n        assert "Alpha" in result\n        assert "Beta" in result\n        assert "50.0%" in result  # 1/2 coverage\n\n\ndef test_gbs_get_status_operator_not_found(gbs_env):\n    """Operator-level: returns error when operator doesn\'t exist."""\n    gbs = gbs_env\n    mock_return = json.dumps({"currentPeriod": "2025Q1", "targetPeriod": "2025Q1", "docs": []})\n\n    with patch("point_topic_mcp.core.mongodb_utils._run_mongosh", return_value=mock_return):\n        result = gbs.gbs_get_status(country="UK", operator="NoSuchOp")\n        assert "not found" in result\n        assert "NoSuchOp" in result\n\n\ndef test_gbs_get_status_operator_level(gbs_env):\n    """Operator-level: returns records, gaps, state breakdown, admin URL."""\n    gbs = gbs_env\n    op_id = ObjectId()\n    mock_stats = [\n        {"type": "broadband", "tech": "FTTP", "channel": "Infrastructure",\n         "domain": "Residential", "subscribers": 100000, "state": 1},\n    ]\n    mock_docs = [{\n        "_id": {"$oid": str(op_id)},\n        "name": "TestOp",\n        "techs": ["FTTP", "FTTC"],\n        "statCount": 1,\n        "stats": mock_stats,\n    }]\n    mock_return = json.dumps({"currentPeriod": "2025Q1", "targetPeriod": "2025Q1", "docs": mock_docs})\n\n    with patch("point_topic_mcp.core.mongodb_utils._run_mongosh", return_value=mock_return):\n        result = gbs.gbs_get_status(country="UK", operator="TestOp")\n        assert "GBS STATUS: TestOp (UK)" in result\n        assert "ID:        " + str(op_id) in result\n        assert "Records:   1" in result\n        assert "Filled: 1 combos" in result\n        assert "Gaps" in result\n        assert "pending: 1" in result\n        assert "broadband: 1" in result\n        assert "Admin:" in result\n        assert str(op_id) in result\n        # Should show the record\n        assert "100,000" in result\n        assert "FTTP" in result\n        assert "Infrastructure" in result\n        assert "Residential" in result\n\n\ndef test_gbs_get_status_operator_staleness(gbs_env):\n    """Operator-level: works with explicit period; any period is accepted."""\n    gbs = gbs_env\n    op_id = ObjectId()\n    mock_docs = [{\n        "_id": {"$oid": str(op_id)},\n'}]