moto/tests/test_mediastoredata/test_server.py
2021-10-18 19:44:29 +00:00

17 lines
411 B
Python

import sure # noqa # pylint: disable=unused-import
import moto.server as server
from moto import mock_mediastoredata
"""
Test the different server responses
"""
@mock_mediastoredata
def test_mediastore_lists_containers():
backend = server.create_backend_app("mediastore-data")
test_client = backend.test_client()
response = test_client.get("/").data
response.should.contain(b'"Items": []')