Media store data Service (#3955)
* Add delete container and list tags endpoints to MediaStore * Black reformat * Fixed Lint problems * Check if dictionary was deleted effectively * lint fix * MediaPackageClientError * Lint Fix * Test unknown channel describe * Concatenation Fix * MediaPackage - fix error message * MediaPackage ClientError part2 * Mediastoredata not working Base url tests and renaming typo List Items not returning proper JSON and wrongly hitting get_object response MediaStore2 Tests * More implementation * Fix tests and format * Comments fix * Comments 2 * MediastoreData - alternative logic to figure out appropriate host Co-authored-by: av <arcovoltaico@gmail.com> Co-authored-by: Bert Blommers <info@bertblommers.nl>
This commit is contained in:
parent
2590bf0e80
commit
759974d9cd
15 changed files with 328 additions and 5 deletions
|
|
@ -220,6 +220,14 @@ def test_list_tags_for_resource_return_none_if_no_tags():
|
|||
response.get("Tags").should.equal(None)
|
||||
|
||||
|
||||
@mock_mediastore
|
||||
def test_list_tags_for_resource_return_none_if_no_tags():
|
||||
client = boto3.client("mediastore", region_name=region)
|
||||
with pytest.raises(ClientError) as ex:
|
||||
client.list_tags_for_resource(Resource="not_existing")
|
||||
ex.value.response["Error"]["Code"].should.equal("ContainerNotFoundException")
|
||||
|
||||
|
||||
@mock_mediastore
|
||||
def test_delete_container():
|
||||
client = boto3.client("mediastore", region_name=region)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue