19 lines
420 B
Python
19 lines
420 B
Python
|
from __future__ import unicode_literals
|
||
|
|
||
|
import sure # noqa
|
||
|
|
||
|
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": []')
|