moto/tests
jweite 1b80b0a810
Sagemaker models (#3105)
* First failing test, and enough framework to run it.

* Rudimentary passing test.

* Sagemaker Notebook Support, take-1: create, describe, start, stop, delete.

* Added list_tags.

* Merged in model support from https://github.com/porthunt/moto/tree/sagemaker-support.

* Re-org'd

* Fixed up describe_model exception when no matching model.

* Segregated tests by Sagemaker entity.  Model arn check by regex..

* Python2 compabitility changes.

* Added sagemaker to list of known backends.  Corrected urls.

* Added sagemaker special case to moto.server.infer_service_region_host due to irregular url format (use of 'api' subdomain) to support server mode.

* Changes for PR 3105 comments of July 10, 2020

* PR3105 July 10, 2020, 8:55 AM EDT comment: dropped unnecessary re-addition of arn when formulating model list response.

* PR 3105 July 15, 2020 9:10 AM EDT Comment: clean-up SageMakerModelBackend.describe_models logic for finding the model in the dict.

* Optimized imports

Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-07-16 13:12:25 +01:00
..
test_acm black linting 2019-12-16 21:25:20 -05:00
test_apigateway fix API Gateway:create_usage_plan_key return wrong status code (#3134) 2020-07-15 14:01:03 +01:00
test_applicationautoscaling Application Autoscaling basic features (#3082) 2020-07-03 14:23:17 +01:00
test_athena Implemented Athena create_named_query, get_named_query (#1524) (#3065) 2020-06-11 17:27:29 +01:00
test_autoscaling Always call update ELBs for ASGs (#2980) 2020-05-11 07:44:26 +01:00
test_awslambda Cloudformation support for EventSourceMapping (#3045) 2020-06-14 16:03:00 +01:00
test_batch Make batch.utils.lowercase_first_key() recursive (#3124) 2020-07-14 11:29:49 +01:00
test_cloudformation Fix: CloudFormation support status filter in list stacks (#3115) 2020-07-12 13:39:42 +01:00
test_cloudwatch Fix: Cloudwatch delete Alarm status code handling on invalid alarm name (#3028) 2020-05-28 15:52:56 +01:00
test_codecommit
test_codepipeline Add codepipeline.untag_resource 2019-12-23 19:50:16 +01:00
test_cognitoidentity #2800 - CognitoIdentity - Fix format of Identity ID 2020-04-04 14:09:38 +01:00
test_cognitoidp fix #3133 Cognito Identity Provider : create_user_pool_client GenerateSecret=True doesn't work (#3135) 2020-07-16 09:13:12 +01:00
test_config Config - implement Organization Conformance Pack functionality (#3116) 2020-07-13 09:30:55 +01:00
test_core #2774 - Re-add test, and update requirements to working botocore 2020-03-09 12:47:44 +00:00
test_datapipeline
test_datasync
test_dynamodb Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
test_dynamodb2 Fix dynamodb2 KEYS_ONLY Indexes (#3125) 2020-07-14 13:42:13 +01:00
test_dynamodbstreams make black happy 2020-04-06 19:55:54 +10:00
test_eb Elastic Beanstalk - Rename and Add Implementation Coverage 2020-03-30 14:08:22 +01:00
test_ec2 Fix: Ec2 - add destinationIpv6CIDR support. (#3106) 2020-07-07 14:32:55 +01:00
test_ec2instanceconnect Improve implementation coverage (and layout) 2020-05-12 14:58:35 +01:00
test_ecr Change RESTError to JsonRESTError for ImageNotFoundException, update test to expect ImageNotFoundException 2020-03-08 20:56:21 +01:00
test_ecs Implement placement constraints model 2020-05-02 18:47:59 +02:00
test_elb black linting 2019-12-16 21:25:20 -05:00
test_elbv2 Fix condition filtering bug in elbv2.create_rule() (#3092) 2020-06-27 09:42:32 +01:00
test_emr Reformat 2020-03-06 18:11:07 -03:00
test_events Fix incorrect response for put-targets action (#3037) 2020-06-02 16:31:42 +01:00
test_glacier Merge remote-tracking branch 'upstream/master' 2020-01-23 15:37:40 +01:00
test_glue change code style to pass black --check 2020-04-21 22:34:05 +02:00
test_iam Always return 'HardExpiry' for account password policy. (#3117) 2020-07-11 09:38:33 +01:00
test_iot Fixed python2 2020-05-06 10:28:13 -04:00
test_iotdata Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_kinesis
test_kms re-add coverage and remove unused import 2020-02-21 15:39:23 -05:00
test_logs Add CloudWatch logs subscription filters (#2982) 2020-05-12 13:34:10 +01:00
test_managedblockchain Added node actions and other fixes 2020-05-15 19:38:19 -05:00
test_opsworks Fix the online status in OpsWorks 2020-05-07 10:57:27 +03:00
test_organizations Organizations - implement AWS Service Access functionality (#3122) 2020-07-14 10:27:39 +01:00
test_packages
test_polly
test_rds
test_rds2 Bugfix: Allow stop_db_instance for compatible engines 2020-04-16 15:14:37 -04:00
test_redshift Add Redshift.ClusterAlreadyExists Error 2020-05-06 14:28:40 -07:00
test_resourcegroups
test_resourcegroupstaggingapi Add tag get_resource support for target groups (#3012) 2020-05-24 10:25:38 +01:00
test_route53 Formatting 2020-03-02 13:07:34 +00:00
test_s3 S3 - Implement delete_object_tagging 2020-06-20 12:15:29 +01:00
test_s3bucket_path
test_sagemaker Sagemaker models (#3105) 2020-07-16 13:12:25 +01:00
test_secretsmanager Fix: SecretsManager - Added missing pop() override to get_secret_name… (#3057) 2020-06-10 08:54:03 +01:00
test_ses Enhancement : SES - Added create-receipt-rule-set, create-receipt-rul… (#3059) 2020-06-10 10:23:43 +01:00
test_sns Fix missing MessageAttributes when using RawMessageDelivery 2020-03-21 19:25:25 +01:00
test_sqs SQS - Return multiple group-messages in the same request 2020-05-24 12:12:35 +01:00
test_ssm removed done comments 2020-07-03 13:25:03 -04:00
test_stepfunctions SFN - fix InvalidARN exception on start_execution (#3007) 2020-05-24 15:06:02 +01:00
test_sts Add a test for assume_role_with_saml. 2020-04-16 11:47:30 -07:00
test_swf Add SWF domain and type undeprecation 2020-03-05 23:37:17 +10:00
test_utilities Use TaggingService for S3 Objects 2020-03-31 12:04:04 +01:00
test_xray
__init__.py
backport_assert_raises.py
helpers.py