{
  "output": "Successfully created and wrote to new file: /Users/bob/git/dxw/aws-stuff/tests/test_rds.py. Here is the updated code:\nimport unittest\nfrom unittest.mock import MagicMock\nfrom audits.rds import fetch_rds_resources\n\nclass TestRdsAudit(unittest.TestCase):\n    def test_fetch_rds_resources(self):\n        mock_rds = MagicMock()\n        \n        # Mock instance response\n        mock_rds.get_paginator.return_value.paginate.side_effect = [\n            [{\"DBInstances\": [{\"DBInstanceIdentifier\": \"db-1\"}]}], # first call (instances)\n            [{\"DBClusters\": [{\"DBClusterIdentifier\": \"cluster-1\"}]}] # second call (clusters)\n        ]\n        \n        resources = fetch_rds_resources(mock_rds)\n        \n        self.assertEqual(len(resources), 2)\n        self.assertIn(\"db-1\", resources)\n        self.assertIn(\"cluster-1\", resources)\n\nif __name__ == \"__main__\":\n    unittest.main()\n"
}