2021-10-18 19:44:29 +00:00
|
|
|
import sure # noqa # pylint: disable=unused-import
|
2021-06-28 12:23:23 +00:00
|
|
|
|
|
|
|
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": []')
|