prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add opsworks app mocks
  Add the mocks of OpsWork create_app and describe_apps calls. This is part of #1477 
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `moto/__init__.py`
  Content:
  ```
  1 from __future__ import unicode_literals
  2 import logging
  3 # logging.getLogger('boto').setLevel(logging.CRITICAL)
  4 
  5 __title__ = 'moto'
  6 __version__ = '1.2.0',
  7 
  8 from .acm import mock_acm  # flake8: noqa
  9 from .apigateway import mock_apigateway, mock_apigateway_deprecated  # flake8: noqa
  10 from .autoscaling import mock_autoscaling, mock_autoscaling_deprecated  # flake8: noqa
  11 from .awslambda import mock_lambda, mock_lambda_deprecated  # flake8: noqa
  12 from .cloudformation import mock_cloudformation, mock_cloudformation_deprecated  # flake8: noqa
  13 from .cloudwatch import mock_cloudwatch, mock_cloudwatch_deprecated  # flake8: noqa
  14 from .datapipeline import mock_datapipeline, mock_datapipeline_deprecated  # flake8: noqa
  15 from .dynamodb import mock_dynamodb, mock_dynamodb_deprecated  # flake8: noqa
  16 from .dynamodb2 import mock_dynamodb2, mock_dynamodb2_deprecated  # flake8: noqa
  17 from .ec2 import mock_ec2, mock_ec2_deprecated  # flake8: noqa
  18 from .ecr import mock_ecr, mock_ecr_deprecated  # flake8: noqa
  19 from .ecs import mock_ecs, mock_ecs_deprecated  # flake8: noqa
  20 from .elb import mock_elb, mock_elb_deprecated  # flake8: noqa
  21 from .elbv2 import mock_elbv2  # flake8: noqa
  22 from .emr import mock_emr, mock_emr_deprecated  # flake8: noqa
  23 from .events import mock_events  # flake8: noqa
  24 from .glacier import mock_glacier, mock_glacier_deprecated  # flake8: noqa
  25 from .iam import mock_iam, mock_iam_deprecated  # flake8: noqa
  26 from .kinesis import mock_kinesis, mock_kinesis_deprecated  # flake8: noqa
  27 from .kms import mock_kms, mock_kms_deprecated  # flake8: noqa
  28 from .opsworks import mock_opsworks, mock_opsworks_deprecated  # flake8: noqa
  29 from .polly import mock_polly  # flake8: noqa
  30 from .rds import mock_rds, mock_rds_deprecated  # flake8: noqa
  31 from .rds2 import mock_rds2, mock_rds2_deprecated  # flake8: noqa
  32 from .redshift import mock_redshift, mock_redshift_deprecated  # flake8: noqa
  33 from .s3 import mock_s3, mock_s3_deprecated  # flake8: noqa
  34 from .ses import mock_ses, mock_ses_deprecated  # flake8: noqa
  35 from .sns import mock_sns, mock_sns_deprecated  # flake8: noqa
  36 from .sqs import mock_sqs, mock_sqs_deprecated  # flake8: noqa
  37 from .sts import mock_sts, mock_sts_deprecated  # flake8: noqa
  38 from .ssm import mock_ssm  # flake8: noqa
  39 from .route53 import mock_route53, mock_route53_deprecated  # flake8: noqa
  40 from .swf import mock_swf, mock_swf_deprecated  # flake8: noqa
  41 from .xray import mock_xray, mock_xray_client, XRaySegment  # flake8: noqa
  42 from .logs import mock_logs, mock_logs_deprecated # flake8: noqa
  43 from .batch import mock_batch  # flake8: noqa
  44 from .resourcegroupstaggingapi import mock_resourcegroupstaggingapi  # flake8: noqa
  45 from .iot import mock_iot  # flake8: noqa
  46 from .iotdata import mock_iotdata  # flake8: noqa
  47 
  48 
  49 try:
  50     # Need to monkey-patch botocore requests back to underlying urllib3 classes
  51     from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection
  52 except ImportError:
  53     pass
  54 else:
  55     HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection
  56     HTTPConnectionPool.ConnectionCls = HTTPConnection
  57
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/moto/__init__.py b/moto/__init__.py
  --- a/moto/__init__.py
  +++ b/moto/__init__.py
  @@ -3,7 +3,7 @@
   # logging.getLogger('boto').setLevel(logging.CRITICAL)
   
   __title__ = 'moto'
  -__version__ = '1.2.0',
  +__version__ = '1.2.0'
   
   from .acm import mock_acm  # flake8: noqa
   from .apigateway import mock_apigateway, mock_apigateway_deprecated  # flake8: noqa
  
verification_info: {"golden_diff": "diff --git a/moto/__init__.py b/moto/__init__.py\n--- a/moto/__init__.py\n+++ b/moto/__init__.py\n@@ -3,7 +3,7 @@\n # logging.getLogger('boto').setLevel(logging.CRITICAL)\n \n __title__ = 'moto'\n-__version__ = '1.2.0',\n+__version__ = '1.2.0'\n \n from .acm import mock_acm  # flake8: noqa\n from .apigateway import mock_apigateway, mock_apigateway_deprecated  # flake8: noqa\n", "issue": "Add opsworks app mocks\nAdd the mocks of OpsWork create_app and describe_apps calls. This is part of #1477 \n", "before_files": [{"content": "from __future__ import unicode_literals\nimport logging\n# logging.getLogger('boto').setLevel(logging.CRITICAL)\n\n__title__ = 'moto'\n__version__ = '1.2.0',\n\nfrom .acm import mock_acm  # flake8: noqa\nfrom .apigateway import mock_apigateway, mock_apigateway_deprecated  # flake8: noqa\nfrom .autoscaling import mock_autoscaling, mock_autoscaling_deprecated  # flake8: noqa\nfrom .awslambda import mock_lambda, mock_lambda_deprecated  # flake8: noqa\nfrom .cloudformation import mock_cloudformation, mock_cloudformation_deprecated  # flake8: noqa\nfrom .cloudwatch import mock_cloudwatch, mock_cloudwatch_deprecated  # flake8: noqa\nfrom .datapipeline import mock_datapipeline, mock_datapipeline_deprecated  # flake8: noqa\nfrom .dynamodb import mock_dynamodb, mock_dynamodb_deprecated  # flake8: noqa\nfrom .dynamodb2 import mock_dynamodb2, mock_dynamodb2_deprecated  # flake8: noqa\nfrom .ec2 import mock_ec2, mock_ec2_deprecated  # flake8: noqa\nfrom .ecr import mock_ecr, mock_ecr_deprecated  # flake8: noqa\nfrom .ecs import mock_ecs, mock_ecs_deprecated  # flake8: noqa\nfrom .elb import mock_elb, mock_elb_deprecated  # flake8: noqa\nfrom .elbv2 import mock_elbv2  # flake8: noqa\nfrom .emr import mock_emr, mock_emr_deprecated  # flake8: noqa\nfrom .events import mock_events  # flake8: noqa\nfrom .glacier import mock_glacier, mock_glacier_deprecated  # flake8: noqa\nfrom .iam import mock_iam, mock_iam_deprecated  # flake8: noqa\nfrom .kinesis import mock_kinesis, mock_kinesis_deprecated  # flake8: noqa\nfrom .kms import mock_kms, mock_kms_deprecated  # flake8: noqa\nfrom .opsworks import mock_opsworks, mock_opsworks_deprecated  # flake8: noqa\nfrom .polly import mock_polly  # flake8: noqa\nfrom .rds import mock_rds, mock_rds_deprecated  # flake8: noqa\nfrom .rds2 import mock_rds2, mock_rds2_deprecated  # flake8: noqa\nfrom .redshift import mock_redshift, mock_redshift_deprecated  # flake8: noqa\nfrom .s3 import mock_s3, mock_s3_deprecated  # flake8: noqa\nfrom .ses import mock_ses, mock_ses_deprecated  # flake8: noqa\nfrom .sns import mock_sns, mock_sns_deprecated  # flake8: noqa\nfrom .sqs import mock_sqs, mock_sqs_deprecated  # flake8: noqa\nfrom .sts import mock_sts, mock_sts_deprecated  # flake8: noqa\nfrom .ssm import mock_ssm  # flake8: noqa\nfrom .route53 import mock_route53, mock_route53_deprecated  # flake8: noqa\nfrom .swf import mock_swf, mock_swf_deprecated  # flake8: noqa\nfrom .xray import mock_xray, mock_xray_client, XRaySegment  # flake8: noqa\nfrom .logs import mock_logs, mock_logs_deprecated # flake8: noqa\nfrom .batch import mock_batch  # flake8: noqa\nfrom .resourcegroupstaggingapi import mock_resourcegroupstaggingapi  # flake8: noqa\nfrom .iot import mock_iot  # flake8: noqa\nfrom .iotdata import mock_iotdata  # flake8: noqa\n\n\ntry:\n    # Need to monkey-patch botocore requests back to underlying urllib3 classes\n    from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection\nexcept ImportError:\n    pass\nelse:\n    HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection\n    HTTPConnectionPool.ConnectionCls = HTTPConnection\n", "path": "moto/__init__.py"}], "after_files": [{"content": "from __future__ import unicode_literals\nimport logging\n# logging.getLogger('boto').setLevel(logging.CRITICAL)\n\n__title__ = 'moto'\n__version__ = '1.2.0'\n\nfrom .acm import mock_acm  # flake8: noqa\nfrom .apigateway import mock_apigateway, mock_apigateway_deprecated  # flake8: noqa\nfrom .autoscaling import mock_autoscaling, mock_autoscaling_deprecated  # flake8: noqa\nfrom .awslambda import mock_lambda, mock_lambda_deprecated  # flake8: noqa\nfrom .cloudformation import mock_cloudformation, mock_cloudformation_deprecated  # flake8: noqa\nfrom .cloudwatch import mock_cloudwatch, mock_cloudwatch_deprecated  # flake8: noqa\nfrom .datapipeline import mock_datapipeline, mock_datapipeline_deprecated  # flake8: noqa\nfrom .dynamodb import mock_dynamodb, mock_dynamodb_deprecated  # flake8: noqa\nfrom .dynamodb2 import mock_dynamodb2, mock_dynamodb2_deprecated  # flake8: noqa\nfrom .ec2 import mock_ec2, mock_ec2_deprecated  # flake8: noqa\nfrom .ecr import mock_ecr, mock_ecr_deprecated  # flake8: noqa\nfrom .ecs import mock_ecs, mock_ecs_deprecated  # flake8: noqa\nfrom .elb import mock_elb, mock_elb_deprecated  # flake8: noqa\nfrom .elbv2 import mock_elbv2  # flake8: noqa\nfrom .emr import mock_emr, mock_emr_deprecated  # flake8: noqa\nfrom .events import mock_events  # flake8: noqa\nfrom .glacier import mock_glacier, mock_glacier_deprecated  # flake8: noqa\nfrom .iam import mock_iam, mock_iam_deprecated  # flake8: noqa\nfrom .kinesis import mock_kinesis, mock_kinesis_deprecated  # flake8: noqa\nfrom .kms import mock_kms, mock_kms_deprecated  # flake8: noqa\nfrom .opsworks import mock_opsworks, mock_opsworks_deprecated  # flake8: noqa\nfrom .polly import mock_polly  # flake8: noqa\nfrom .rds import mock_rds, mock_rds_deprecated  # flake8: noqa\nfrom .rds2 import mock_rds2, mock_rds2_deprecated  # flake8: noqa\nfrom .redshift import mock_redshift, mock_redshift_deprecated  # flake8: noqa\nfrom .s3 import mock_s3, mock_s3_deprecated  # flake8: noqa\nfrom .ses import mock_ses, mock_ses_deprecated  # flake8: noqa\nfrom .sns import mock_sns, mock_sns_deprecated  # flake8: noqa\nfrom .sqs import mock_sqs, mock_sqs_deprecated  # flake8: noqa\nfrom .sts import mock_sts, mock_sts_deprecated  # flake8: noqa\nfrom .ssm import mock_ssm  # flake8: noqa\nfrom .route53 import mock_route53, mock_route53_deprecated  # flake8: noqa\nfrom .swf import mock_swf, mock_swf_deprecated  # flake8: noqa\nfrom .xray import mock_xray, mock_xray_client, XRaySegment  # flake8: noqa\nfrom .logs import mock_logs, mock_logs_deprecated # flake8: noqa\nfrom .batch import mock_batch  # flake8: noqa\nfrom .resourcegroupstaggingapi import mock_resourcegroupstaggingapi  # flake8: noqa\nfrom .iot import mock_iot  # flake8: noqa\nfrom .iotdata import mock_iotdata  # flake8: noqa\n\n\ntry:\n    # Need to monkey-patch botocore requests back to underlying urllib3 classes\n    from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection\nexcept ImportError:\n    pass\nelse:\n    HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection\n    HTTPConnectionPool.ConnectionCls = HTTPConnection\n", "path": "moto/__init__.py"}]}